.. module:: collections
:synopsis: Container data types.
| Purpose: | Container data types. |
|---|
The collections module includes container data types beyond the
built-in types list, dict, and tuple.
.. toctree:: :maxdepth: 1 chainmap counter defaultdict deque namedtuple ordereddict abc
.. seealso::
* :pydoc:`collections`
* :ref:`Python 2 to 3 porting notes for collections <porting-collections>`
* :pep:`342` -- Coroutines via Enhanced Generators
* :pep:`492` -- Coroutines with async and await syntax