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

Method startElement

Lib/xml/dom/pulldom.py:291–295  ·  view source on GitHub ↗
(self, name, attrs)

Source from the content-addressed store, hash-verified

289 parentNode.appendChild(curNode)
290
291 def startElement(self, name, attrs):
292 PullDOM.startElement(self, name, attrs)
293 curNode = self.elementStack[-1]
294 parentNode = self.elementStack[-2]
295 parentNode.appendChild(curNode)
296
297 def processingInstruction(self, target, data):
298 PullDOM.processingInstruction(self, target, data)

Callers 1

testSAX2DOMMethod · 0.95

Calls 2

startElementMethod · 0.45
appendChildMethod · 0.45

Tested by 1

testSAX2DOMMethod · 0.76