有什么区别:
class Child(SomeBaseClass):
def __init__(self):
super(Child, self).__init__()
和:
class Child(SomeBaseClass):
def __init__(self):
SomeBaseClass.__init__(self)
我已经看到super在只有单一继承的类中使用了很多。我可以看到为什么你会用它来进行多重继承,但是我不清楚在这种情况下使用它的好处