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

Method end_element_ns

Lib/xml/sax/expatreader.py:378–387  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

376 AttributesNSImpl(newattrs, qnames))
377
378 def end_element_ns(self, name):
379 pair = name.split()
380 if len(pair) == 1:
381 pair = (None, name)
382 elif len(pair) == 3:
383 pair = pair[0], pair[1]
384 else:
385 pair = tuple(pair)
386
387 self._cont_handler.endElementNS(pair, None)
388
389 # this is not used (call directly to ContentHandler)
390 def processing_instruction(self, target, data):

Callers

nothing calls this directly

Calls 2

splitMethod · 0.45
endElementNSMethod · 0.45

Tested by

no test coverage detected