MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / copy

Method copy

tools/python-3.11.9-amd64/Lib/collections/__init__.py:1035–1037  ·  view source on GitHub ↗

New ChainMap or subclass with a new copy of maps[0] and refs to maps[1:]

(self)

Source from the content-addressed store, hash-verified

1033 return cls(dict.fromkeys(iterable, *args))
1034
1035 def copy(self):
1036 'New ChainMap or subclass with a new copy of maps[0] and refs to maps[1:]'
1037 return self.__class__(self.maps[0].copy(), *self.maps[1:])
1038
1039 __copy__ = copy
1040

Callers 1

__or__Method · 0.95

Calls 2

__class__Method · 0.45
copyMethod · 0.45

Tested by

no test coverage detected