Dictionaries with invalid key?

Charles G Waldman cgw at fnal.gov
Mon Sep 6 10:12:17 EDT 1999


Generally, any immutable type which is hashable can be a dictionary key.
That is strings, tuples, and numeric types are OK, lists and dictionaries
are not.  





More information about the Python-list mailing list