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

Method processingInstruction

Lib/xml/sax/saxutils.py:222–224  ·  view source on GitHub ↗
(self, target, data)

Source from the content-addressed store, hash-verified

220 self._write(content)
221
222 def processingInstruction(self, target, data):
223 self._finish_pending_start_element()
224 self._write('<?%s %s?>' % (target, data))
225
226
227class XMLFilterBase(xmlreader.XMLReader):

Callers 3

test_xmlgen_piMethod · 0.95
processingInstructionMethod · 0.45

Calls 2

_writeMethod · 0.45

Tested by 1

test_xmlgen_piMethod · 0.76