Version: 1.1.0

collections

collections — Extra containers such as sets, deques, and inline variants of the builtin collections.

Using it

Import the module, or use the name directly when it is part of builtin.

def main():
    print("collections")

Stability

Treat new names as experimental until the stability notes say otherwise. A minor compiler bump can rename an experimental API.

Where to look next

Neighboring modules are listed on the standard library index.