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

Method new_child_element

src/docx/oxml/xmlchemy.py:366–367  ·  view source on GitHub ↗
(obj: BaseOxmlElement)

Source from the content-addressed store, hash-verified

364 from docx.oxml.parser import OxmlElement
365
366 def new_child_element(obj: BaseOxmlElement):
367 return OxmlElement(self._nsptagname)
368
369 return new_child_element
370

Callers

nothing calls this directly

Calls 1

OxmlElementFunction · 0.90

Tested by

no test coverage detected