我来自Java,在那里我们可以避免调用超类零参数构造函数。对它的调用是由编译器隐式生成的。我读了this post about super(),现在质疑是否真的有必要明确地做这样的事情: class A(object): print("world")
def __init__(self): super().__<e
我在python中有以下类: def __init__(self): self.value=self.get_valueFile "classesPython.py", line 20, in <module> File "classesPython.py", line 4, in __initself.value=self.get_value()
TypeError: