Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class First:
- def __init__(self):
- pass
- def say(self):
- print("First")
- class Second:
- def __init__(self):
- pass
- def say(self):
- print("Second")
- class Test(First, Second):
- def __init__(self):
- pass
- def say(self):
- super(Second, self).say()
- t = Test()
- t.say()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement