Staging: this is not the live site, pydocs.org.
collections.abc
Symbols in collections.abc
a
- AsyncGenerator
- ABC for asynchronous generator classes that implement the protocol defined in PEP 525 and PEP 492.
- AsyncIterator
- ABC for classes that provide __aiter__ and __anext__ methods.
- Awaitable
- ABC for awaitable objects, which can be used in await expressions.
b
- Buffer
- ABC for classes that provide the __buffer__() method, implementing the buffer protocol.
- ByteString
- Deprecated ABC serving as a common supertype of ``bytes`` and ``bytearray``.
c
- Callable
- ABC for classes that provide the __call__() method.
- Collection
- ABC for sized iterable container classes.
- Container
- ABC for classes that provide the __contains__() method.
- Coroutine
- ABC for coroutine compatible classes.
g
- Generator
- ABC for generator classes that implement the protocol defined in PEP 342 that extends iterators with the send(), throw() and close() methods.
h
- Hashable
- ABC for classes that provide the __hash__() method.
i
- ItemsView
- ABCs for mapping, items, keys, and values views.
- Iterable
- ABC for classes that provide the __iter__() method.
- Iterator
- ABC for classes that provide the __iter__() and __next__() methods.
k
- KeysView
- ABCs for mapping, items, keys, and values views.
m
- Mapping
- A Mapping is a generic container for associating key/value pairs.
- MappingView
- ABCs for mapping, items, keys, and values views.
- MutableMapping
- A MutableMapping is a generic container for associating key/value pairs.
- MutableSet
- A mutable set is a finite, iterable container.
r
- Reversible
- ABC for iterable classes that also provide the __reversed__() method.
s
- Sequence
- All the operations on a read-only sequence.
- Set
- A set is a finite, iterable container.
- Sized
- ABC for classes that provide the __len__() method.
v
- ValuesView
- ABCs for mapping, items, keys, and values views.