[dictionary] how to get key by item
Skip Montanaro
skip at pobox.com
Tue Dec 14 10:08:49 EST 2004
More information about the Python-list mailing list
Tue Dec 14 10:08:49 EST 2004
- Previous message (by thread): Looking for a coder to do some work
- Next message (by thread): [dictionary] how to get key by item
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ola> If some keys has the same value as the item this will cause
Ola> problems because keys in your result dictionary can be
Ola> overwritten.
That's why I said, "assuming your dictionary defines a one-to-one
mapping...".
Skip
- Previous message (by thread): Looking for a coder to do some work
- Next message (by thread): [dictionary] how to get key by item
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list