Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ createProcessingInstruction
Method
createProcessingInstruction
Lib/xml/dom/minidom.py:1715–1718 ·
view source on GitHub ↗
(self, target, data)
Source
from the content-addressed store, hash-verified
1713
return
c
1714
1715
def
createProcessingInstruction(self, target, data):
1716
p = ProcessingInstruction(target, data)
1717
p.ownerDocument = self
1718
return
p
1719
1720
def
createAttribute(self, qName):
1721
a = Attr(qName)
Callers
6
testWholeText
Method · 0.80
testProcessingInstructionNameError
Method · 0.80
_clone_node
Function · 0.80
processingInstruction
Method · 0.80
buildDocument
Method · 0.80
pi_handler
Method · 0.80
Calls
1
ProcessingInstruction
Class · 0.70
Tested by
2
testWholeText
Method · 0.64
testProcessingInstructionNameError
Method · 0.64