collections.abc.MutableSequence

class collections.abc.MutableSequence class collections.abc.ByteString ABCs for read-only and mutable sequences. Implementation note: Some of the mixin methods, such as __iter__(), __reversed__() and index(), make repeated calls to the underlying __getitem__() method. Consequently, if __getitem__() is implemented with constant access speed, the mixin methods will have linear performance; however, if the underlying method is linear (as it would be with a linked list), the mixins will have quad

collections.abc.MutableMapping

class collections.abc.MutableMapping ABCs for read-only and mutable mappings.

collections.abc.MappingView

class collections.abc.MappingView class collections.abc.ItemsView class collections.abc.KeysView class collections.abc.ValuesView ABCs for mapping, items, keys, and values views.

collections.abc.Mapping

class collections.abc.Mapping class collections.abc.MutableMapping ABCs for read-only and mutable mappings.

collections.abc.KeysView

class collections.abc.KeysView class collections.abc.ValuesView ABCs for mapping, items, keys, and values views.

collections.abc.Iterator

class collections.abc.Iterator ABC for classes that provide the __iter__() and __next__() methods. See also the definition of iterator.

collections.abc.Iterable

class collections.abc.Iterable ABC for classes that provide the __iter__() method. See also the definition of iterable.

collections.abc.ItemsView

class collections.abc.ItemsView class collections.abc.KeysView class collections.abc.ValuesView ABCs for mapping, items, keys, and values views.

collections.abc.Hashable

class collections.abc.Hashable class collections.abc.Sized class collections.abc.Callable ABCs for classes that provide respectively the methods __contains__(), __hash__(), __len__(), and __call__().

collections.abc.Generator

class collections.abc.Generator ABC for generator classes that implement the protocol defined in PEP 342 that extends iterators with the send(), throw() and close() methods. See also the definition of generator. New in version 3.5.