cf.BoundedVariable.copy

BoundedVariable.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 to copy.deepcopy(f).

Examples 1:
>>> g = f.copy()
Returns:
out: cf.BoundedVariable

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