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 details)

Uploaded Source

File details

Details for the file odict-1.2.2.tar.gz.

File metadata

  • Download URL: odict-1.2.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for odict-1.2.2.tar.gz
Algorithm Hash digest
SHA256 2e3301e3c2b0fd795ea1a054517ca6ad83df6d30fbe6f03c6b59a34d3a3c45bc
MD5 2b29ef15081637a6aae80c66afed6179
BLAKE2b-256 76ff8a8fb0a0eedf7fdd556e6af5d20667d3099e5453c3ddb2fd376970e1dfda

See more details on using hashes here.

Supported by

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