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

Function handleToc

Doc/includes/minidom-example.py:59–62  ·  view source on GitHub ↗
(slides)

Source from the content-addressed store, hash-verified

57 print(f"<li>{getText(point.childNodes)}</li>")
58
59def handleToc(slides):
60 for slide in slides:
61 title = slide.getElementsByTagName("title")[0]
62 print(f"<p>{getText(title.childNodes)}</p>")
63
64handleSlideshow(dom)

Callers 1

handleSlideshowFunction · 0.85

Calls 2

getTextFunction · 0.85
getElementsByTagNameMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…