cfdm.GatheredArray.__deepcopy__

GatheredArray.__deepcopy__(memo)[source]

Called by the copy.deepcopy function.

x.__deepcopy__() <==> copy.deepcopy(x)

Copy-on-write is employed. Therefore, after copying, care must be taken when making in-place modifications to attributes of either the original or the new copy.

New in version (cfdm): 1.7.0

Examples

>>> import copy
>>> y = copy.deepcopy(x)