class Z():
def func():
print ("I'm in Z")
class A(Z):
def func():
print ("I'm in A")
class B(Z):
def func():
print ("I'm in B")
class C(A,B):
pass
#def func():
# print ("I'm in C")
ob1 = C
print ("Calling function func ")
ob1.func()
Output is:
Calling function func
I'm in A
But according to the How does Python's super() work with multiple inheritance?
Order should be "depth-first left-to-right traversal" + "removing duplicates expect for the last"
As explained by /visionscaper (user:889617),
Why is this difference ?