Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
227
class
XMLFilterBase(xmlreader.XMLReader):
Callers
3
test_xmlgen_pi
Method · 0.95
processing_instruction
Method · 0.45
processingInstruction
Method · 0.45
Calls
2
_finish_pending_start_element
Method · 0.95
_write
Method · 0.45
Tested by
1
test_xmlgen_pi
Method · 0.76