pytools.api.doc.ModuleDefinition#
- class pytools.api.doc.ModuleDefinition(module)[source]#
A reference to a Python module definition.
- Bases
- Metaclasses
- Parameters
module (
module
) – the module
Method summary
Extract all documented parameter names from the docstring, including
"return"
if the return parameter is documented.Attribute summary
The docstring of this API element;
None
if the docstring is undefined.The full name of this API element, including the full module name and containing element names.
The name of this API element.
The public module that exposes the API definition.
the module
Definitions
- list_documented_parameters()#
Extract all documented parameter names from the docstring, including
"return"
if the return parameter is documented.
- property docstring: str | None#
The docstring of this API element;
None
if the docstring is undefined.- Return type
Optional
[str
]
- property full_name: str#
The full name of this API element, including the full module name and containing element names.
- Return type
- module: module#
the module