cp#
- cp(obj, die=True)[source]#
Shortcut to perform a shallow copy operation
Almost identical to
copy.copy()
, but optionally allow failuresNew in version 2.0.0: default die=True instead of FalseNew in version 3.1.4: “verbose” argument removed; warning raised