3 ms·
Python is in no sense an everything-is-a-hashtable language.
by kingkilr 15y ago
Python is in no sense an everything-is-a-hashtable language.
- laughinghan 15y ago"The default behavior for attribute access is to get, set, or delete the attribute from an object’s dictionary. For instance, a.x has a lookup chain starting with a.__dict__['x'], then type(a).__dict__['x'], and continuing through the base classes of type(a) excluding metaclasses." http://docs.python.org/reference/datamodel.html#invoking-descriptors http://docs.python.org/reference/datamodel.html#invoking-des...