Why is lambda allowed as a key in a dict?

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Mon Mar 9 23:35:36 EDT 2009


See here Daniel Fetchinson:

http://groups.google.com/group/comp.lang.python/browse_thread/thread/a973de8f3562675c

But be quite careful in using that stuff, it has some traps.

Bye,
bearophile



More information about the Python-list mailing list