Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # MRO problem in Python
- class A:
- def foo(self):
- print("A::foo called")
- class B(A):
- def foo(self):
- print("B::foo called")
- class C(A, B):
- pass
- c0 = C()
- c0.foo()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement