module documentation

Undocumented

Type Variable ScalarType Undocumented
Class _GenericAlias A python-based backport of the types.GenericAlias class.
Function _parse_parameters Search for all typevars and typevar-containing objects in args.
Function _reconstruct_alias Recursively replace all typevars with those from parameters.
Function _to_str Helper function for _GenericAlias.__repr__.
Constant _GENERIC_ALIAS_TYPE Undocumented
Type Variable _T Undocumented
Variable _DType Undocumented
ScalarType = (source)

Undocumented

Value
TypeVar('ScalarType',
        bound=np.generic, covariant=True)
def _parse_parameters(args: Iterable[Any]) -> Generator[TypeVar, None, None]: (source)

Search for all typevars and typevar-containing objects in args.

Helper function for _GenericAlias.__init__.

def _reconstruct_alias(alias: _T, parameters: Iterator[TypeVar]) -> _T: (source)

Recursively replace all typevars with those from parameters.

Helper function for _GenericAlias.__getitem__.

def _to_str(obj: object) -> str: (source)

Helper function for _GenericAlias.__repr__.

_GENERIC_ALIAS_TYPE = (source)

Undocumented

Value
(_GenericAlias, types.GenericAlias)

Undocumented

Value
TypeVar('_T',
        bound='_GenericAlias')

Undocumented