MCPcopy Index your code
hub / github.com/nodejs/node / copy

Method copy

tools/inspector_protocol/jinja2/compiler.py:165–170  ·  view source on GitHub ↗

Create a copy of the current one.

(self)

Source from the content-addressed store, hash-verified

163 self.buffer = parent.buffer
164
165 def copy(self):
166 """Create a copy of the current one."""
167 rv = object.__new__(self.__class__)
168 rv.__dict__.update(self.__dict__)
169 rv.symbols = self.symbols.copy()
170 return rv
171
172 def inner(self, isolated=False):
173 """Return an inner frame."""

Callers 1

softMethod · 0.95

Calls 3

updateMethod · 0.65
copyMethod · 0.65
__new__Method · 0.45

Tested by

no test coverage detected