module documentation

Undocumented

Class FunctionType Undocumented
Class ParserModule Undocumented
Function get_parser_module Undocumented
Function parse_function_type_comment Given a correct type comment, obtain a FunctionType object.
Function _binary_operators_from_module Undocumented
Function _bool_operators_from_module Undocumented
Function _compare_operators_from_module Undocumented
Function _contexts_from_module Undocumented
Function _unary_operators_from_module Undocumented
def get_parser_module(type_comments: bool = True) -> ParserModule: (source)

Undocumented

def parse_function_type_comment(type_comment: str) -> FunctionType|None: (source)

Given a correct type comment, obtain a FunctionType object.

def _binary_operators_from_module(module: types.ModuleType) -> dict[type[ast.operator], str]: (source)

Undocumented

def _bool_operators_from_module(module: types.ModuleType) -> dict[type[ast.boolop], str]: (source)

Undocumented

def _compare_operators_from_module(module: types.ModuleType) -> dict[type[ast.cmpop], str]: (source)

Undocumented

def _contexts_from_module(module: types.ModuleType) -> dict[type[ast.expr_context], Context]: (source)

Undocumented

def _unary_operators_from_module(module: types.ModuleType) -> dict[type[ast.unaryop], str]: (source)

Undocumented