typing.MappingView

class typing.MappingView(Sized, Iterable[T_co]) A generic version of collections.abc.MappingView.

typing.no_type_check()

@typing.no_type_check(arg) Decorator to indicate that annotations are not type hints. The argument must be a class or function; if it is a class, it applies recursively to all methods defined in that class (but not to methods defined in its superclasses or subclasses). This mutates the function(s) in place.

typing.MutableSet

class typing.MutableSet(AbstractSet[T]) A generic version of collections.abc.MutableSet.

typing.MutableSequence

class typing.MutableSequence(Sequence[T]) A generic version of collections.abc.MutableSequence.

typing.NamedTuple()

typing.NamedTuple(typename, fields) Typed version of namedtuple. Usage: Employee = typing.NamedTuple('Employee', [('name', str), ('id', int)]) This is equivalent to: Employee = collections.namedtuple('Employee', ['name', 'id']) The resulting class has one extra attribute: _field_types, giving a dict mapping field names to types. (The field names are in the _fields attribute, which is part of the namedtuple API.)

typing.MutableMapping

class typing.MutableMapping(Mapping[KT, VT]) A generic version of collections.abc.MutableMapping.

typing.Iterator

class typing.Iterator(Iterable[T_co]) A generic version of the collections.abc.Iterator.

typing.ItemsView

class typing.ItemsView(MappingView, Generic[KT_co, VT_co]) A generic version of collections.abc.ItemsView.

typing.KeysView

class typing.KeysView(MappingView[KT_co], AbstractSet[KT_co]) A generic version of collections.abc.KeysView.

typing.Iterable

class typing.Iterable(Generic[T_co]) A generic version of the collections.abc.Iterable.