summaryrefslogtreecommitdiffstats
path: root/Lib/test/badsyntax_future7.py
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2015-07-22 19:07:07 (GMT)
committerRobert Collins <rbtcollins@hp.com>2015-07-22 19:07:07 (GMT)
commit16dd21054300ebc8dfa395589075dbf7159bc7af (patch)
tree310b22f4e484645e5fe982974d02af81206fac3b /Lib/test/badsyntax_future7.py
parente02f6c20ff9d017a8d1c8b27d96cbfc205185f06 (diff)
downloadcpython-16dd21054300ebc8dfa395589075dbf7159bc7af.zip
cpython-16dd21054300ebc8dfa395589075dbf7159bc7af.tar.gz
cpython-16dd21054300ebc8dfa395589075dbf7159bc7af.tar.bz2
Fix suspicious after the unittest docs change.
Diffstat (limited to 'Lib/test/badsyntax_future7.py')
0 files changed, 0 insertions, 0 deletions
.append(node.data) return ''.join(rc) def handleSlideshow(slideshow): print("<html>") handleSlideshowTitle(slideshow.getElementsByTagName("title")[0]) slides = slideshow.getElementsByTagName("slide") handleToc(slides) handleSlides(slides) print("</html>") def handleSlides(slides): for slide in slides: handleSlide(slide) def handleSlide(slide): handleSlideTitle(slide.getElementsByTagName("title")[0]) handlePoints(slide.getElementsByTagName("point")) def handleSlideshowTitle(title): print("<title>%s</title>" % getText(title.childNodes)) def handleSlideTitle(title): print("<h2>%s</h2>" % getText(title.childNodes)) def handlePoints(points): print("<ul>") for point in points: handlePoint(point) print("</ul>") def handlePoint(point): print("<li>%s</li>" % getText(point.childNodes)) def handleToc(slides): for slide in slides: title = slide.getElementsByTagName("title")[0] print("<p>%s</p>" % getText(title.childNodes)) handleSlideshow(dom)