Guest User

Untitled

a guest
Jun 23rd, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. class test(object):
  2. def __init__(self, x=None, y=None, z=None):
  3. pass
  4.  
  5. class mytest(test):
  6. def __init__(self, x=None, y=None, z=None):
  7. self._x = x
  8. self._y = y
  9. self._z = z
  10. super().__init__(x, y, z)
  11.  
  12. def get_x(self):
  13. return self._x
  14. # and so on
Add Comment
Please, Sign In to add comment