cf.Field.copy¶
-
Field.
copy
(_omit_Data=False, _only_Data=False, _omit_special=None, _omit_properties=False, _omit_attributes=False)[source]¶ Return a deep copy.
f.copy()
is equivalent tocopy.deepcopy(f)
.Examples 1: >>> g = f.copy()
Returns: - out:
The deep copy.
Examples 2: >>> g = f.copy() >>> g is f False >>> f.equals(g) True >>> import copy >>> h = copy.deepcopy(f) >>> h is f False >>> f.equals(g) True