Python: why is __dict__ attribute not in built-in class instances

前端 未结 2 602
囚心锁ツ
囚心锁ツ 2020-12-03 15:36

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

2条回答
提交回复
热议问题