Lists implemented as integer-hashed Dictionaries?

Terry Reedy tjreedy at udel.edu
Mon Feb 9 01:33:24 EST 2009


Christian Heimes wrote:
>
> Sets are basically dicts without values.

For CPython true, but abstractly, dicts are sets with values, and 
mappings are often viewed as sets of key,value pairs.




More information about the Python-list mailing list