summaryrefslogtreecommitdiffstats
path: root/Doc/tools/toc2bkm.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-10 14:33:27 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-10 14:33:27 (GMT)
commiteff1f7622aaa4d0ba180290f614e49543e05eef1 (patch)
treed97901484ff3c361faa4fa2c52bb0cb9e5483a33 /Doc/tools/toc2bkm.py
parentac77b79df6f1c2350d83ada04e6a5020169c7f61 (diff)
downloadcpython-eff1f7622aaa4d0ba180290f614e49543e05eef1.zip
cpython-eff1f7622aaa4d0ba180290f614e49543e05eef1.tar.gz
cpython-eff1f7622aaa4d0ba180290f614e49543e05eef1.tar.bz2
clean_title(): Remove debugging prints.
Diffstat (limited to 'Doc/tools/toc2bkm.py')
-rwxr-xr-xDoc/tools/toc2bkm.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Doc/tools/toc2bkm.py b/Doc/tools/toc2bkm.py
index 616b79a..6ccda1f 100755
--- a/Doc/tools/toc2bkm.py
+++ b/Doc/tools/toc2bkm.py
@@ -86,14 +86,12 @@ def clean_title(title):
m = title_rx.search(title, pos)
if m:
start = m.start()
- print "found", `title[start:m.end()]`
if title[start:start+15] != "\\textunderscore":
title = title[:start] + title[m.end():]
pos = start + 1
else:
break
title = string.translate(title, title_trans, "{}")
- print `title`
return title