If my understanding of the Python data model is correct, both classes and class instances have associated __dict__ objects which contain all the attributes. Ho
__dict__
Instances of types defined in C don't have a __dict__ attribute by default.