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

Function getText

Doc/includes/minidom-example.py:21–26  ·  view source on GitHub ↗
(nodelist)

Source from the content-addressed store, hash-verified

19dom = xml.dom.minidom.parseString(document)
20
21def getText(nodelist):
22 rc = []
23 for node in nodelist:
24 if node.nodeType == node.TEXT_NODE:
25 rc.append(node.data)
26 return ''.join(rc)
27
28def handleSlideshow(slideshow):
29 print("<html>")

Callers 4

handleSlideshowTitleFunction · 0.85
handleSlideTitleFunction · 0.85
handlePointFunction · 0.85
handleTocFunction · 0.85

Calls 2

appendMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…