cf.Constructs.shallow_copy

Constructs.shallow_copy(_ignore=None)[source]

Return a shallow copy.

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

New in version 1.7.0.

Returns:The shallow copy.

Examples:

>>> g = f.shallow_copy()