Ano*_*ity 0 python inheritance
如果调用超类启动函数的以下用法之间的重要区别怎么办?
class Child_1(Parent):
def __init__(self):
super(Child, self).__init__()
class Child_2(Parent):
def __init__(self):
super(Parent, self).__init__()
class Child_3(Parent):
def __init__(self):
Parent.__init__(self)
Run Code Online (Sandbox Code Playgroud)