MCPcopy Index your code
hub / github.com/python/cpython / _get_documentElement

Method _get_documentElement

Lib/xml/dom/minidom.py:1652–1655  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1650 return oldChild
1651
1652 def _get_documentElement(self):
1653 for node in self.childNodes:
1654 if node.nodeType == Node.ELEMENT_NODE:
1655 return node
1656
1657 def unlink(self):
1658 if self.doctype is not None:

Callers 1

appendChildMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected