Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class A():
- def __init__(self, x, y):
- # do something with x and y
- def aMethod(self, param1):
- # do stuff with param1
- class B(A):
- def bMethod1(self, param2):
- # do stuff with self and param2
- super(B, self).aMethod(param2)
- def bMethod2(self, myDict):
- # do stuff with myDict
- return myDict
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement