Descriptor HowTo Guide — Python 3.10.1 documentation
docs.python.org › 3 › howtoJan 08, 2022 · 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 method resolution order of type(a). If the looked-up value is an object defining one of the descriptor methods ...