MCPcopy 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

testWholeTextMethod · 0.80
_clone_nodeFunction · 0.80
processingInstructionMethod · 0.80
buildDocumentMethod · 0.80
pi_handlerMethod · 0.80

Calls 1

Tested by 2

testWholeTextMethod · 0.64