Attribute Access

Python
Author

Imad Dabbura

Published

January 26, 2023

Python follows more or less the following steps when looking up an attribute inside of an object:

However, if Python sees that the attribute is implemented using a descriptor, it uses the descriptor methods (__get__).