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.
-- http://mail.python.org/mailman/listinfo/python-list
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.
-- http://mail.python.org/mailman/listinfo/python-list