dictionary of object attributes
__dict__
when __getattr__ invoked
invokes when property not found by normal lookup
when __getattribute__ invoked
instead of normal lookup
method for setting attributes
__setattr__(self, item, value)
method for deleting attributes
__delattr__(self, item)
function to access __dict__
vars()
special method with __getattribute__
repr(a) invoke a.__repr__ without __getattribute__
get size of an object
sys.getsizeof(d)
attribute of a class that reduce memory usage
__slots__