Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class A:
- def show(self):
- print "A"
- class B:
- def show(self):
- print "B"
- class C(A,B):
- pass
- a = A()
- a.show()
- b = B()
- b.show()
- c = C()
- c.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement