Copyable#
- class pybrops.core.io.Copyable.Copyable[source]#
Bases:
objectAbstract class for defining objects which can be copied.
This abstract class defines four functions with the following purposes:
__copy__and__deepcopy__implement the Pythoncopyinterface.copyanddeepcopyallow for the direct copying of objects.
Methods
Make a shallow copy of the
Copyableobject.Make a deep copy of the
Copyableobject.