`__getattr__` is a fallback method, activated *only* if `__getattribute__` (or the standard attribute lookup) fails to find the requested attribute and consequently raises an `AttributeError`.
Open the full topic