Lines Matching refs:deepcopy
132 def deepcopy(x, memo=None, _nil=[]): function
210 def _deepcopy_list(x, memo, deepcopy=deepcopy): argument
215 append(deepcopy(a, memo))
219 def _deepcopy_tuple(x, memo, deepcopy=deepcopy): argument
220 y = [deepcopy(a, memo) for a in x]
236 def _deepcopy_dict(x, memo, deepcopy=deepcopy): argument
240 y[deepcopy(key, memo)] = deepcopy(value, memo)
247 return type(x)(x.__func__, deepcopy(x.__self__, memo))
270 deepcopy=deepcopy): argument
273 args = (deepcopy(arg, memo) for arg in args)
280 state = deepcopy(state, memo)
297 item = deepcopy(item, memo)
305 key = deepcopy(key, memo)
306 value = deepcopy(value, memo)