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

Method createComment

Lib/xml/dom/minidom.py:1710–1713  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

1708 return c
1709
1710 def createComment(self, data):
1711 c = Comment(data)
1712 c.ownerDocument = self
1713 return c
1714
1715 def createProcessingInstruction(self, target, data):
1716 p = ProcessingInstruction(target, data)

Callers 9

testAppendChildMethod · 0.80
testNonZeroMethod · 0.80
testRenameOtherMethod · 0.80
testWholeTextMethod · 0.80
_clone_nodeFunction · 0.80
commentMethod · 0.80
buildDocumentMethod · 0.80
comment_handlerMethod · 0.80

Calls 1

CommentClass · 0.70

Tested by 5

testAppendChildMethod · 0.64
testNonZeroMethod · 0.64
testRenameOtherMethod · 0.64
testWholeTextMethod · 0.64