Mro en Python
class A:
def method(self):
print("A.method() called")
class B:
pass
class C(B, A):
pass
c = C()
c.method()
Mighty Unicorn
class A:
def method(self):
print("A.method() called")
class B:
pass
class C(B, A):
pass
c = C()
c.method()
class A:
def method(self):
print("A.method() called")
class B(A):
def method(self):
print("B.method() called")
b = B()
b.method()