Copyable#
- class pybrops.core.io.Copyable.Copyable[source]#
Bases:
object
Abstract class for defining objects which can be copied.
This abstract class defines four functions with the following purposes:
__copy__
and__deepcopy__
implement the Pythoncopy
interface.copy
anddeepcopy
allow for the direct copying of objects.
Methods
Make a shallow copy of the
Copyable
object.Make a deep copy of the
Copyable
object.