Skip to main content

typealiases

ModuleSource

The documentation extraction of type aliases.

Classes

Member
Description
DocTypeAliasThe docstring of a typed alias.

Functions

Member
Description
is_generic_type_alias_callCheck whether an ast.Node is specified by a function call of TypeVar and ParamSpec.
is_runtime_rootCheck whether an ast.Node is specified by a known run-time root.
is_possibly_type_expressionA heuristic checker for detecting the possible type expression.
parse_type_aliases_docParse the docstring of all type aliases defined in a module.