ID EN
Inspect

getattr_static

Python 3.11

Retrieve attributes without triggering dynamic lookup via the descriptor protocol, __getattr__() or __getattribute__().

Syntax

PYTHON
inspect.getattr_static(obj, attr, default=None)

See Also

__getattr__() __getattribute__() __dict__