dcp#
- class dcp(obj, die=True, verbose=True)[source]#
Shortcut to perform a deep copy operation
Almost identical to
copy.deepcopy()
, but optionally fall back tocopy.copy()
if deepcopy fails.- Parameters:
New in version 2.0.0: default die=True instead of False