Python dictionary is preserved in inheritance

前端 未结 0 793
没有蜡笔的小新
没有蜡笔的小新 2020-12-12 06:09

int apparently works as I would expect:

>>> class Superclass:
...   x = 1
...   def __init__(self         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题