Lines Matching defs:copy
280 state = state.copy()
281 slots = slots.copy()
291 def copy(self):
292 'od.copy() -> a shallow copy of od'
468 'Return self as a plain tuple. Used by copy and pickle.'
719 def copy(self):
720 'Return a shallow copy.'
1033 def copy(self):
1034 'New ChainMap or subclass with a new copy of maps[0] and refs to maps[1:]'
1035 return self.__class__(self.maps[0].copy(), *self.maps[1:])
1037 __copy__ = copy
1089 m = self.copy()
1167 # Create a copy and avoid triggering descriptors
1168 inst.__dict__["data"] = self.__dict__["data"].copy()
1171 def copy(self):
1173 return UserDict(self.data.copy())
1174 import copy
1178 c = copy.copy(self)
1284 # Create a copy and avoid triggering descriptors
1303 def copy(self):