Hi,
I was wondering if anyone could explain to me the difference between doing
class Child(SomeBaseClass):
def __init__(self):
super(Child, self).__init__()
and this
class Child(SomeBaseClass):
def __init__(self):
SomeBaseClass.__init__(self)
I've seen 'super' being used quite alot in classes with only single inheritance. I can see why you'd use it in multiple inheritance but am unclear as to what the advantages are of using it in this kind of situation ?
Any thoughts on this would be greatly appreciated.
thanks
babak