MCPcopy Index your code
hub / github.com/RustPython/RustPython / end_element_ns

Method end_element_ns

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
splitMethod · 0.45
endElementNSMethod · 0.45

Tested by

no test coverage detected