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

Method endDocument

Lib/xml/sax/saxutils.py:154–155  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

152 self._encoding)
153
154 def endDocument(self):
155 self._flush()
156
157 def startPrefixMapping(self, prefix, uri):
158 self._ns_contexts.append(self._current_context.copy())

Callers 15

test_xmlgen_basicMethod · 0.95
test_xmlgen_contentMethod · 0.95
test_xmlgen_piMethod · 0.95
test_xmlgen_encodingMethod · 0.95
test_xmlgen_ignorableMethod · 0.95

Calls 1

_flushMethod · 0.45

Tested by 15

test_xmlgen_basicMethod · 0.76
test_xmlgen_contentMethod · 0.76
test_xmlgen_piMethod · 0.76
test_xmlgen_encodingMethod · 0.76
test_xmlgen_ignorableMethod · 0.76