__dict__ is a dictionary representing its attributes : Introduction : Class PYTHON TUTORIALS


PYTHON TUTORIALS » Class » Introduction »

 

__dict__ is a dictionary representing its attributes


class C(object):
    pass

c = C

print c.__dict__



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Class
» Introduction