Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Table of collection data types in Python
@GPHemsley

This comment has been minimized.

Copy link
Owner Author

GPHemsley commented Mar 6, 2014

Looks like Python treats uniqueness and order as mutually exclusive (unique XOR ordered).

@GPHemsley

This comment has been minimized.

Copy link
Owner Author

GPHemsley commented Feb 8, 2015

An implementation of the last line would likely be called OrderedFrozenSet or FrozenOrderedSet.

@GPHemsley

This comment has been minimized.

Copy link
Owner Author

GPHemsley commented Feb 16, 2015

Reorganized table to make patterns more apparent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.