cf.FieldList.copy

FieldList.copy(data=True)[source]

Return a deep copy.

f.copy() is equivalent to copy.deepcopy(f).

Returns

The deep copy.

Examples:

>>> 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