Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Magnet(CMagnet): # CMagnet is a C++ based boost-python class
- def __init__(self):
- CMagnet.__init__(self)
- def python_method(self):
- ...
- magnet = Magnet()
- magnet_2 = copy.deepcopy(magnet)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement