D | copy.py | 128 def deepcopy(x, memo=None, _nil=[]): function 201 def _deepcopy_list(x, memo, deepcopy=deepcopy): argument 206 append(deepcopy(a, memo)) 210 def _deepcopy_tuple(x, memo, deepcopy=deepcopy): argument 211 y = [deepcopy(a, memo) for a in x] 227 def _deepcopy_dict(x, memo, deepcopy=deepcopy): argument 231 y[deepcopy(key, memo)] = deepcopy(value, memo) 238 return type(x)(x.__func__, deepcopy(x.__self__, memo)) 261 deepcopy=deepcopy): argument 264 args = (deepcopy(arg, memo) for arg in args) [all …]
|