Skip to main content

Ordered dictionary.

Project description

Yet another odict implementation.

>>> from odict import odict
>>> od = odict()

Changes

-Use try/except instead of __iter__ in __setitem__ to determine if

value was already set. rnix, 2009-07-17.

-Add missing __len__ and __contains__ functions.

rnix, 2009-03-17

Credits

-Written by bearophile (Oct 12 2006)

http://code.activestate.com/recipes/498195/

-Eggified by Robert Niederreiter <rnix@squarewave.at> (Mar 17 2009)

Project details


Download files

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

Source Distribution

odict-1.2.2.tar.gz (4.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page