module documentation

Undocumented

Function ann​_str​_and​_line Return the textual representation and line number of an object's type annotation. @param obj: Documentable object with a type annotation.
Function from​AST Undocumented
Function from​Text Undocumented
Function test​_aliasing Undocumented
Function test​_aliasing​_recursion Undocumented
Function test​_all​_allbad If no value in __all__ could be parsed, the result is an empty list.
Function test​_all​_bad​_sequence Values other than lists and tuples assigned to __all__ have no effect and a warning is logged.
Function test​_all​_caps​_variable​_in​_instance​_is​_not​_a​_constant Currently, it does not mark instance members as constants, never.
Function test​_all​_in​_class​_non​_recognition A class variable named __all__ is just an ordinary variable and does not affect Module.all.
Function test​_all​_multiple If there are multiple assignments to __all__, a warning is logged and the last assignment takes effect.
Function test​_all​_nonliteral Non-literals in __all__ are ignored.
Function test​_all​_nonstring Non-string literals in __all__ are ignored.
Function test​_all​_recognition The value assigned to __all__ is parsed to Module.all.
Function test​_annotated​_variables Undocumented
Function test​_assignment​_to​_method​_in​_class An assignment to a method in a class body does not change the type of the documentable.
Function test​_assignment​_to​_method​_in​_init An assignment to a method inside __init__() does not change the type of the documentable.
Function test​_attrs​_args Non-existing arguments and invalid values to recognized arguments are rejected with a warning.
Function test​_attrs​_attrib​_badargs .
Function test​_attrs​_attrib​_instance An attr.ib attribute is classified as an instance variable.
Function test​_attrs​_attrib​_type An attr.ib's "type" or "default" argument is used as an alternative type annotation.
Function test​_attrs​_auto​_instance Attrs auto-attributes are classified as instance variables.
Function test​_bad​_string​_annotation Invalid string annotations must be reported as syntax errors.
Function test​_class Undocumented
Function test​_class​_with​_base Undocumented
Function test​_class​_with​_base​_from​_module Undocumented
Function test​_classdecorator Undocumented
Function test​_classdecorator​_with​_args Undocumented
Function test​_classmethod Undocumented
Function test​_constant​_class Class variables with all-uppercase names are recognized as constants.
Function test​_constant​_module Module variables with all-uppercase names are recognized as constants.
Function test​_constant​_module​_with​_final Module variables annotated with typing.Final are recognized as constants.
Function test​_constant​_module​_with​_final​_annotation​_gets​_infered It can recognize constants defined with typing.Final. It will infer the type of the constant if Final do not use subscripts.
Function test​_constant​_module​_with​_final​_subscript1 It can recognize constants defined with typing.Final[something]
Function test​_constant​_module​_with​_final​_subscript2 It can recognize constants defined with typing.Final[something]. And it automatically remove the Final part from the annotation.
Function test​_constant​_module​_with​_final​_subscript​_invalid​_warns It warns if there is an invalid Final annotation.
Function test​_constant​_module​_with​_final​_subscript​_invalid​_warns2 It warns if there is an invalid Final annotation.
Function test​_constant​_module​_with​_typing​_extensions​_final Module variables annotated with typing_extensions.Final are recognized as constants.
Function test​_constant​_override​_do​_not​_warns​_when​_defined​_in​_class​_docstring Constant can be documented as variables at docstring level without any warnings.
Function test​_constant​_override​_do​_not​_warns​_when​_defined​_in​_module​_docstring Undocumented
Function test​_constant​_override​_in​_instace​_warns It warns when a constant is beeing re defined in instance. But it ignores it's value.
Function test​_constant​_override​_in​_instace​_warns2 It warns when a constant is beeing re defined in instance. But it ignores it's value. Even if the actual constant definition is detected after the instance variable of the same name.
Function test​_constant​_override​_in​_module​_warns Undocumented
Function test​_detupling​_assignment Undocumented
Function test​_docformat​_recognition The value assigned to __docformat__ is parsed to Module.docformat.
Function test​_docformat​_warn​_empty Undocumented
Function test​_docformat​_warn​_not​_str Undocumented
Function test​_docformat​_warn​_not​_str2 Undocumented
Function test​_docformat​_warn​_overrides Undocumented
Function test​_docstring​_assignment Undocumented
Function test​_docstring​_assignment​_detuple We currently don't trace values for detupling assignments, so when assigning to __doc__ we get a warning about the unknown value.
Function test​_documented​_no​_alias A variable that is documented should not be considered an alias.
Function test​_follow​_renaming Undocumented
Function test​_function​_async Undocumented
Function test​_function​_badsig When a function has an invalid signature, an error is logged and the empty signature is returned.
Function test​_function​_signature A round trip from source to inspect.Signature and back produces the original text.
Function test​_function​_signature​_posonly Undocumented
Function test​_function​_simple Undocumented
Function test​_ignore​_function​_contents Undocumented
Function test​_import​_func​_from​_package Importing a function from a package should look in the __init__ module.
Function test​_import​_module​_from​_package Importing a module from a package should not look in __init__ module.
Function test​_import​_star Undocumented
Function test​_inferred​_variable​_types Undocumented
Function test​_inherit​_names Undocumented
Function test​_inline​_docstring​_annotated​_classvar Undocumented
Function test​_inline​_docstring​_annotated​_instancevar Undocumented
Function test​_inline​_docstring​_classvar Undocumented
Function test​_inline​_docstring​_instancevar Undocumented
Function test​_inline​_docstring​_modulevar Undocumented
Function test​_literal​_string​_annotation Strings inside Literal annotations must not be recursively parsed.
Function test​_methoddecorator Undocumented
Function test​_more​_aliasing Undocumented
Function test​_nested​_class​_inheriting​_from​_same​_module Undocumented
Function test​_no​_docstring Undocumented
Function test​_node2fullname The node2fullname() function finds the full (global) name for a name expression in the AST.
Function test​_property​_conflict Warn when a method is decorated as both property and class/staticmethod. These decoration combinations do not create class/static properties.
Function test​_property​_custom Any custom decorator with a name ending in 'property' makes a method into a property getter.
Function test​_property​_decorator A function decorated with '@property' is documented as an attribute.
Function test​_property​_setter Property setter and deleter methods are renamed, so they don't replace the property itself.
Function test​_relative​_import​_in​_package Relative imports in a package must be resolved by going up one level less, since we don't count "__init__.py" as a level.
Function test​_relative​_import​_past​_top A warning is logged when a relative import goes beyond the top-level package.
Function test​_subclasses Undocumented
Function test​_type​_comment Undocumented
Function test​_unstring​_annotation Annotations or parts thereof that are strings are parsed and line number information is preserved.
Function test​_variable​_scopes Undocumented
Function test​_variable​_types Undocumented
Function to​_html Undocumented
Function type2html Undocumented
Function type2str Undocumented
Function unwrap Undocumented
Variable systemcls​_param Undocumented
def ann_str_and_line(obj):
Return the textual representation and line number of an object's type annotation.
Parameters
obj:model.DocumentableDocumentable object with a type annotation.
Returns
Tuple[str, int]Undocumented
def fromAST(ast, modname='<test>', is_package=False, parent_name=None, system=None, buildercls=None, systemcls=model.System):

Undocumented

Parameters
ast:ast.ModuleUndocumented
modname:strUndocumented
is​_package:boolUndocumented
parent​_name:Optional[str]Undocumented
system:Optional[model.System]Undocumented
buildercls:Optional[Type[astbuilder.ASTBuilder]]Undocumented
systemcls:Type[model.System]Undocumented
Returns
model.ModuleUndocumented
def fromText(text, *, modname='<test>', is_package=False, parent_name=None, system=None, buildercls=None, systemcls=model.System):

Undocumented

Parameters
text:strUndocumented
modname:strUndocumented
is​_package:boolUndocumented
parent​_name:Optional[str]Undocumented
system:Optional[model.System]Undocumented
buildercls:Optional[Type[astbuilder.ASTBuilder]]Undocumented
systemcls:Type[model.System]Undocumented
Returns
model.ModuleUndocumented
@systemcls_param
def test_aliasing(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_aliasing_recursion(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_all_allbad(systemcls, capsys):
If no value in __all__ could be parsed, the result is an empty list.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_all_bad_sequence(systemcls, capsys):
Values other than lists and tuples assigned to __all__ have no effect and a warning is logged.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_all_caps_variable_in_instance_is_not_a_constant(systemcls, capsys):
Currently, it does not mark instance members as constants, never.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_all_in_class_non_recognition(systemcls):
A class variable named __all__ is just an ordinary variable and does not affect Module.all.
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_all_multiple(systemcls, capsys):
If there are multiple assignments to __all__, a warning is logged and the last assignment takes effect.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_all_nonliteral(systemcls, capsys):
Non-literals in __all__ are ignored.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_all_nonstring(systemcls, capsys):
Non-string literals in __all__ are ignored.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_all_recognition(systemcls):
The value assigned to __all__ is parsed to Module.all.
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_annotated_variables(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_assignment_to_method_in_class(systemcls):

An assignment to a method in a class body does not change the type of the documentable.

If the name we assign to exists and it does not belong to an Attribute (it's a Function instead, in this test case), the assignment will be ignored.

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_assignment_to_method_in_init(systemcls):

An assignment to a method inside __init__() does not change the type of the documentable.

If the name we assign to exists and it does not belong to an Attribute (it's a Function instead, in this test case), the assignment will be ignored.

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_attrs_args(systemcls, capsys):
Non-existing arguments and invalid values to recognized arguments are rejected with a warning.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_attrs_attrib_badargs(systemcls, capsys):
.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_attrs_attrib_instance(systemcls):
An attr.ib attribute is classified as an instance variable.
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_attrs_attrib_type(systemcls):
An attr.ib's "type" or "default" argument is used as an alternative type annotation.
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_attrs_auto_instance(systemcls):
Attrs auto-attributes are classified as instance variables.
Parameters
systemcls:Type[model.System]Undocumented
@pytest.mark.parametrize('annotation', ('[', 'pass', '1 ; 2'))
@systemcls_param
def test_bad_string_annotation(annotation, systemcls, capsys):
Invalid string annotations must be reported as syntax errors.
Parameters
annotation:strUndocumented
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_class(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_class_with_base(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_class_with_base_from_module(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_classdecorator(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_classdecorator_with_args(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_classmethod(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_constant_class(systemcls):
Class variables with all-uppercase names are recognized as constants.
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_constant_module(systemcls):
Module variables with all-uppercase names are recognized as constants.
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_constant_module_with_final(systemcls):
Module variables annotated with typing.Final are recognized as constants.
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_constant_module_with_final_annotation_gets_infered(systemcls):
It can recognize constants defined with typing.Final. It will infer the type of the constant if Final do not use subscripts.
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_constant_module_with_final_subscript1(systemcls):
It can recognize constants defined with typing.Final[something]
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_constant_module_with_final_subscript2(systemcls):
It can recognize constants defined with typing.Final[something]. And it automatically remove the Final part from the annotation.
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_constant_module_with_final_subscript_invalid_warns(systemcls, capsys):
It warns if there is an invalid Final annotation.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_constant_module_with_final_subscript_invalid_warns2(systemcls, capsys):
It warns if there is an invalid Final annotation.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_constant_module_with_typing_extensions_final(systemcls):
Module variables annotated with typing_extensions.Final are recognized as constants.
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_constant_override_do_not_warns_when_defined_in_class_docstring(systemcls, capsys):
Constant can be documented as variables at docstring level without any warnings.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_constant_override_do_not_warns_when_defined_in_module_docstring(systemcls, capsys):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_constant_override_in_instace_warns(systemcls, capsys):
It warns when a constant is beeing re defined in instance. But it ignores it's value.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_constant_override_in_instace_warns2(systemcls, capsys):
It warns when a constant is beeing re defined in instance. But it ignores it's value. Even if the actual constant definition is detected after the instance variable of the same name.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_constant_override_in_module_warns(systemcls, capsys):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_detupling_assignment(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_docformat_recognition(systemcls):
The value assigned to __docformat__ is parsed to Module.docformat.
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_docformat_warn_empty(systemcls, capsys):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_docformat_warn_not_str(systemcls, capsys):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_docformat_warn_not_str2(systemcls, capsys):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_docformat_warn_overrides(systemcls, capsys):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_docstring_assignment(systemcls, capsys):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_docstring_assignment_detuple(systemcls, capsys):
We currently don't trace values for detupling assignments, so when assigning to __doc__ we get a warning about the unknown value.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_documented_no_alias(systemcls):
A variable that is documented should not be considered an alias.
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_follow_renaming(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_function_async(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@pytest.mark.parametrize('signature', ('(a, a)'))
@systemcls_param
def test_function_badsig(signature, systemcls, capsys):

When a function has an invalid signature, an error is logged and the empty signature is returned.

Note that most bad signatures lead to a SyntaxError, which we cannot recover from. This test checks what happens if the AST can be produced but inspect.Signature() rejects the parsed parameters.

Parameters
signature:strUndocumented
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@pytest.mark.parametrize('signature', ('()', '(*, a, b=None)', '(*, a=(), b)', '(a, b=3, *c, **kw)', '(f=True)', '(x=0.1, y=-2)', '(s=\'theory\', t=\'con\\\'text\')'))
@systemcls_param
def test_function_signature(signature, systemcls):
A round trip from source to inspect.Signature and back produces the original text.
Parameters
signature:strUndocumented
systemcls:Type[model.System]Undocumented
Note
Our inspect.Signature Paramters objects are now tweaked such that they might produce HTML tags, handled by the PyvalColorizer.
@posonlyargs
@pytest.mark.parametrize('signature', ('(x, y, /)', '(x, y=0, /)', '(x, y, /, z, w)', '(x, y, /, z, w=42)', '(x, y, /, z=0, w=0)', '(x, y=3, /, z=5, w=7)', '(x, /, *v, a=1, b=2)', '(x, /, *, a=1, b=2, **kwargs)'))
@systemcls_param
def test_function_signature_posonly(signature, systemcls):

Undocumented

Parameters
signature:strUndocumented
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_function_simple(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_ignore_function_contents(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_import_func_from_package(systemcls):

Importing a function from a package should look in the __init__ module.

In this test the following hierarchy is constructed:

    package a
      module __init__
        defines function 'f'
      module c
        imports function 'f'
    module b
      imports function 'f'

We verify that when module b and c import the name f from package a, they import the function f from the module a.__init__.

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_import_module_from_package(systemcls):

Importing a module from a package should not look in __init__ module.

In this test the following hierarchy is constructed:

    package a
      module __init__
      module b
        defines function 'f'
    module c
      imports module 'a.b'

We verify that when module c imports the name b from package a, it imports the module a.b which contains f.

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_import_star(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_inferred_variable_types(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_inherit_names(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_inline_docstring_annotated_classvar(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_inline_docstring_annotated_instancevar(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_inline_docstring_classvar(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_inline_docstring_instancevar(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_inline_docstring_modulevar(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@pytest.mark.parametrize('annotation,expected', (('Literal[\'[\', \']\']', 'Literal[\'[\', \']\']'), ('typing.Literal[\'pass\', \'raise\']', 'typing.Literal[\'pass\', \'raise\']'), ('Optional[Literal[\'1 ; 2\']]', 'Optional[Literal[\'1 ; 2\']]'), ('\'Literal\'[\'!\']', 'Literal[\'!\']'), ('\'Literal[\\\'if\\\', \\\'while\\\']\'', 'Literal[\'if\', \'while\']')))
def test_literal_string_annotation(annotation, expected):
Strings inside Literal annotations must not be recursively parsed.
Parameters
annotation:strUndocumented
expected:strUndocumented
@systemcls_param
def test_methoddecorator(systemcls, capsys):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_more_aliasing(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_nested_class_inheriting_from_same_module(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_no_docstring(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
def test_node2fullname():
The node2fullname() function finds the full (global) name for a name expression in the AST.
@pytest.mark.parametrize('decoration', ('classmethod', 'staticmethod'))
@systemcls_param
def test_property_conflict(decoration, systemcls, capsys):
Warn when a method is decorated as both property and class/staticmethod. These decoration combinations do not create class/static properties.
Parameters
decoration:strUndocumented
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_property_custom(systemcls, capsys):
Any custom decorator with a name ending in 'property' makes a method into a property getter.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_property_decorator(systemcls):
A function decorated with '@property' is documented as an attribute.
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_property_setter(systemcls, capsys):
Property setter and deleter methods are renamed, so they don't replace the property itself.
Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_relative_import_in_package(systemcls):

Relative imports in a package must be resolved by going up one level less, since we don't count "__init__.py" as a level.

Hierarchy:

  top: def f
   - pkg: imports f and g
      - mod: def g
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
@pytest.mark.parametrize('level', (1, 2, 3, 4))
def test_relative_import_past_top(systemcls, level, capsys):
A warning is logged when a relative import goes beyond the top-level package.
Parameters
systemcls:Type[model.System]Undocumented
level:intUndocumented
capsys:CapSysUndocumented
@systemcls_param
def test_subclasses(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@typecomment
@systemcls_param
def test_type_comment(systemcls, capsys):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
capsys:CapSysUndocumented
@systemcls_param
def test_unstring_annotation(systemcls):
Annotations or parts thereof that are strings are parsed and line number information is preserved.
Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_variable_scopes(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
@systemcls_param
def test_variable_types(systemcls):

Undocumented

Parameters
systemcls:Type[model.System]Undocumented
def to_html(parsed_docstring, linker=NotFoundLinker()):

Undocumented

Parameters
parsed​_docstring:ParsedDocstringUndocumented
linker:DocstringLinkerUndocumented
Returns
strUndocumented
def type2html(obj):

Undocumented

Parameters
obj:model.DocumentableUndocumented
Returns
strUndocumented
def type2str(type_expr):

Undocumented

Parameters
type​_expr:Optional[ast.expr]Undocumented
Returns
Optional[str]Undocumented
def unwrap(parsed_docstring):

Undocumented

Parameters
parsed​_docstring:Optional[ParsedDocstring]Undocumented
Returns
strUndocumented
systemcls_param =

Undocumented