Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. class Magnet(CMagnet): # CMagnet is a C++ based boost-python class
  2. def __init__(self):
  3. CMagnet.__init__(self)
  4.  
  5. def python_method(self):
  6. ...
  7.  
  8. magnet = Magnet()
  9. magnet_2 = copy.deepcopy(magnet)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement