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

Method first_element_handler

Lib/xml/dom/expatbuilder.py:343–347  ·  view source on GitHub ↗
(self, name, attributes)

Source from the content-addressed store, hash-verified

341 return 1
342
343 def first_element_handler(self, name, attributes):
344 if self._filter is None and not self._elem_info:
345 self._finish_end_element = id
346 self.getParser().StartElementHandler = self.start_element_handler
347 self.start_element_handler(name, attributes)
348
349 def start_element_handler(self, name, attributes):
350 node = self.document.createElement(name)

Callers

nothing calls this directly

Calls 2

getParserMethod · 0.95
start_element_handlerMethod · 0.95

Tested by

no test coverage detected