Skip to main content

parse_module_doc

FunctionSource

v_1: DocModule = parse_module_doc(module: ModuleType)

Parse the docstring of a package or a module.

Arguments

Requires

NameTypeRequired
Description
moduleModuleTypeA package/module object to be parsed.

Returns

NameType
Description
v_1DocModuleThe parsed docstring of the module. Note that the members of the module is not parsed by this method. Use a module walker and the add_member() method of the returned value to complete the module information.