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