MCPcopy Index your code
hub / github.com/python-openxml/python-docx / with_child

Method with_child

tests/unitdata.py:57–63  ·  view source on GitHub ↗

Cause new child element specified by `child_bldr` to be appended to the children of this element.

(self, child_bldr)

Source from the content-addressed store, hash-verified

55 return elm
56
57 def with_child(self, child_bldr):
58 """
59 Cause new child element specified by `child_bldr` to be appended to
60 the children of this element.
61 """
62 self._child_bldrs.append(child_bldr)
63 return self
64
65 def with_text(self, text):
66 """

Callers 14

len_fixtureMethod · 0.80
xml_for_fixtureMethod · 0.80
_xml_fromMethod · 0.80
rPr_bldrMethod · 0.80
insert_fixtureMethod · 0.80
parent_bldrMethod · 0.80
getter_fixtureMethod · 0.80
insert_fixtureMethod · 0.80
parent_bldrMethod · 0.80
insert_fixtureMethod · 0.80
parent_bldrMethod · 0.80
insert_fixtureMethod · 0.80

Calls 1

appendMethod · 0.80

Tested by 14

len_fixtureMethod · 0.64
xml_for_fixtureMethod · 0.64
_xml_fromMethod · 0.64
rPr_bldrMethod · 0.64
insert_fixtureMethod · 0.64
parent_bldrMethod · 0.64
getter_fixtureMethod · 0.64
insert_fixtureMethod · 0.64
parent_bldrMethod · 0.64
insert_fixtureMethod · 0.64
parent_bldrMethod · 0.64
insert_fixtureMethod · 0.64