pydocstring.formatters.numpy¶
Numpy Docstring Formatter
-
pydocstring.formatters.numpy.class_docstring(parso_class)¶ Format a numpy docstring for a class
Only documents attributes,
__init__method args can be documented on the__init__methodParameters: parso_class (Class) – The class tree node Returns: The formatted docstring Return type: str
-
pydocstring.formatters.numpy.function_docstring(parso_function)¶ Format a numpy docstring for a function
Parameters: parso_function (Function) – The function tree node Returns: The formatted docstring Return type: str
-
pydocstring.formatters.numpy.module_docstring(parso_module)¶ Format a numpy docstring for a module
Only documents attributes,
__init__method args can be documented on the__init__methodParameters: parso_module (Module) – The module tree node Returns: The formatted docstring Return type: str