# oop/mro.simple.py class A: label = 'a' class B(A): label = 'b' class C(A): label = 'c' class D(B, C): pass d = D() print(d.label) # Hypothetically this could be either 'b' or 'c' print(d.__class__.mro()) # notice another way to get the MRO # prints: # [, , # , , ] """ $ python mro.simple.py b [ , , , , ] """