=================================== collections -- Container data types =================================== .. module:: collections :synopsis: Container data types. :Purpose: Container data types. :Available In: 2.4 and later The :mod:`collections` module includes container data types beyond the built-in types :class:`list`, :class:`dict`, and :class:`tuple`. .. toctree:: :maxdepth: 2 counter defaultdict deque namedtuple ordereddict .. seealso:: `collections `_ The standard library documentation for this module.