class A: pass class B(A): pass class C(A, B): pass
class A: pass class B(A): pass class C(B): # or B, A or A but not A, B pass
Used when a class has an inconsistent method resolution order.