class A: __slots__ = "" def __getattribute__(self, item): pass