collections
collections — High-performance container datatypes
New in version 2.4.
Source code: Lib/collections.py and Lib/_abcoll.py
This module implements specialized container datatypes providing alternatives to Python’s general purpose built-in containers, dict
, list
,