Skip to content

parse_docstring

parse_docstring(sym)

Split a numpy-style docstring into its parts.

Parse a subset of numpy-style docstrings:

Parameters

name : type description...

Returns

type description... Returns dict with 'param:' and 'return' keys when found.