I'm kinda new to python, but I've got a question about second level inheritance.
I have this situation:
class A:
def Something(self):
#Do Stuff
class B(A):
def SomethingElse(self):
#Do other stuff
class C(B):
def Something(self):
#Do additional stuff
Note that class C inherits from B which inherits from A, but that class B DOES NOT implement method Something().
If I call super(C, self).Something() for an instance of class C, what will happen? Will it call the method from class A?
Additionally, if class B does implement Something(), but I want to call class A's Something() directly from class C (ie bypass class B's implementation), how do I do it?
Finally, can someone explain to me why people user super() rather than just calling the parent class's methods directly? Thanks.