MCPcopy Create free account
hub / github.com/nodejs/node / copy

Method copy

deps/v8/third_party/jinja2/compiler.py:219–224  ·  view source on GitHub ↗

Create a copy of the current one.

(self)

Source from the content-addressed store, hash-verified

217 self.soft_frame = False
218
219 def copy(self) -> "Frame":
220 """Create a copy of the current one."""
221 rv = object.__new__(self.__class__)
222 rv.__dict__.update(self.__dict__)
223 rv.symbols = self.symbols.copy()
224 return rv
225
226 def inner(self, isolated: bool = False) -> "Frame":
227 """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