module documentation

Implementation of the types in Python 3's typing.py.

Class Annotated Implementation of typing.Annotated[T, *annotations].
Class Callable Implementation of typing.Callable[...].
Class Cast Implements typing.cast.
Class Concatenate Implementation of typing.Concatenate[...].
Class Final Implementation of typing.Final[T].
Class FinalDecorator Implementation of typing.final.
Class Generic Implementation of typing.Generic.
Class Literal Implementation of typing.Literal.
Class NewType Implementation of typing.NewType as a function.
Class NoReturn Implements typing.NoReturn as a singleton.
Class Optional Implementation of typing.Optional.
Class Overload Implementation of typing.overload.
Class ParamSpec Representation of typing.ParamSpec, as a function.
Class Redirect Base class for overlays that redirect to typing.
Class Tuple Implementation of typing.Tuple.
Class TypeVar Representation of typing.TypeVar, as a function.
Class TypingContainer Undocumented
Class TypingOverlay A representation of the 'typing' module that allows custom overlays.
Class Union Implementation of typing.Union[...].
Exception TypeVarError Raised if an error is encountered while initializing a TypeVar.
Function build_any Undocumented
Function build_cast Undocumented
Function build_final_decorator Undocumented
Function build_newtype Undocumented
Function build_noreturn Undocumented
Function build_overload Undocumented
Function build_paramspec Undocumented
Function build_typechecking Undocumented
Function build_typevar Undocumented
Function get_re_builder Undocumented
Function not_supported_yet Undocumented
Variable typing_overlay Undocumented
Class _TypeVariable Base class for type variables (TypeVar and ParamSpec).
Function _build Undocumented
Function _build_not_supported_yet Undocumented
Function _is_typing_container Undocumented
Variable _unsupported_members Undocumented
def build_any(ctx): (source)

Undocumented

def build_cast(ctx): (source)

Undocumented

def build_final_decorator(ctx): (source)

Undocumented

def build_newtype(ctx): (source)

Undocumented

def build_noreturn(ctx): (source)

Undocumented

def build_overload(ctx): (source)

Undocumented

def build_paramspec(ctx): (source)

Undocumented

def build_typechecking(ctx): (source)

Undocumented

def build_typevar(ctx): (source)

Undocumented

def get_re_builder(member): (source)

Undocumented

def not_supported_yet(name, ctx, *, ast=None, details=None): (source)

Undocumented

typing_overlay = (source)

Undocumented

def _build(name): (source)

Undocumented

def _build_not_supported_yet(name, ast): (source)

Undocumented

def _is_typing_container(cls: pytd.Class): (source)

Undocumented

_unsupported_members: dict = (source)

Undocumented