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

Method clone

tools/python-3.11.9-amd64/Lib/lib2to3/pytree.py:257–260  ·  view source on GitHub ↗

Return a cloned (deep) copy of self.

(self)

Source from the content-addressed store, hash-verified

255 return (self.type, self.children) == (other.type, other.children)
256
257 def clone(self):
258 """Return a cloned (deep) copy of self."""
259 return Node(self.type, [ch.clone() for ch in self.children],
260 fixers_applied=self.fixers_applied)
261
262 def post_order(self):
263 """Return a post-order iterator for the tree."""

Callers

nothing calls this directly

Calls 2

NodeClass · 0.70
cloneMethod · 0.45

Tested by

no test coverage detected