pytools.api.doc.APIDefinition#
- class pytools.api.doc.APIDefinition[source]#
A reference to the definition of an API element, e.g., a module, class, or function.
- Metaclasses
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.
Definitions
- list_documented_parameters()[source]#
Extract all documented parameter names from the docstring, including
"return"
if the return parameter is documented.
- abstract property docstring: str | None#
The docstring of this API element;
None
if the docstring is undefined.- Return type
Optional
[str
]