Deep copy a value with deepcopy function from copy module
Deep copy a value with copy module
deepcopy
function from copy module
make a deep copy, copying the values, any values they contain.
from copy import deepcopy
# w w w . ja v a2 s. com
d = {}
c = d.copy()
dc = deepcopy(d)