pytools.api.doc.ModuleDefinition#
- class pytools.api.doc.ModuleDefinition(module)[source]#
A reference to a Python module definition.
- Bases:
- Metaclasses:
- Parameters:
module (
ModuleType) – 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;
Noneif 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;
Noneif the docstring is undefined.
- property full_name: str#
The full name of this API element, including the full module name and containing element names.
- module: ModuleType#
the module