Skip to main content

A drop-in substitute for Py2.7's new collections.OrderedDict that works in Python 2.4-2.6.

Project description

Drop-in substitute for Py2.7’s new collections.OrderedDict. The recipe has big-oh performance that matches regular dictionaries (amortized O(1) insertion/deletion/lookup and O(n) iteration/repr/copy/equality_testing).

Originally based on http://code.activestate.com/recipes/576693/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ordereddict, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size ordereddict-1.1.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page