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

Method append_child

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

Equivalent to 'node.children.append(child)'. This method also sets the child's parent attribute appropriately.

(self, child)

Source from the content-addressed store, hash-verified

305 self.changed()
306
307 def append_child(self, child):
308 """
309 Equivalent to 'node.children.append(child)'. This method also sets the
310 child's parent attribute appropriately.
311 """
312 child.parent = self
313 self.children.append(child)
314 self.changed()
315
316
317class Leaf(Base):

Callers 8

fixup_parse_treeFunction · 0.95
fixup_simple_stmtFunction · 0.95
transformMethod · 0.95
transformMethod · 0.80
transformMethod · 0.80
transform_rangeMethod · 0.80
transform_sortMethod · 0.80

Calls 2

changedMethod · 0.80
appendMethod · 0.45

Tested by 1