Lines Matching +full:deep +full:- +full:is
1 """Generic (shallow and deep) copying operations.
8 x = copy.deepcopy(y) # make a deep copy of y
10 For module specific errors, copy.Error is raised.
12 The difference between shallow and deep copying is only relevant for
16 - A shallow copy constructs a new compound object and then (to the
20 - A deep copy constructs a new compound object and then, recursively,
23 Two problems often exist with deep copy operations that don't exist
29 b) because deep copy copies *everything* it may copy too much, e.g.
33 Python's deep copy operation avoids these problems by:
38 b) letting user-defined classes override the copying operation or the
83 if copier is not None:
87 if reductor is not None:
91 if reductor is not None:
115 if t is not None:
123 if PyStringMap is not None:
129 """Deep copy operation on arbitrary Python objects.
134 if memo is None:
139 if y is not _nil:
145 if copier is not None:
152 if copier is not None:
160 if reductor is not None:
168 "un(deep)copyable object of type %s" % cls)
174 # If is its own copy, don't memoize.
175 if y is not x:
219 if k is not j:
234 if PyStringMap is not None:
256 # aha, this is the first one :-)
262 deep = memo is not None
263 if deep and args:
266 if deep:
269 if state is not None:
270 if deep:
279 if state is not None:
281 if slotstate is not None:
285 if listiter is not None:
286 if deep:
293 if dictiter is not None:
294 if deep: