summaryrefslogtreecommitdiffstats
path: root/Doc/tools/buildindex.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-11 16:26:02 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-11 16:26:02 (GMT)
commit2b8c95e4ed818a51b0bb51eddd10ec611917d33e (patch)
tree9a0fc5e0e72bdc62085c2a7d396bf490fda77987 /Doc/tools/buildindex.py
parent34672dbb3831bfae85be5ec3acfd9d0a28a7946c (diff)
downloadcpython-2b8c95e4ed818a51b0bb51eddd10ec611917d33e.zip
cpython-2b8c95e4ed818a51b0bb51eddd10ec611917d33e.tar.gz
cpython-2b8c95e4ed818a51b0bb51eddd10ec611917d33e.tar.bz2
Minor housing cleaning in HTML that gets generated.
Diffstat (limited to 'Doc/tools/buildindex.py')
-rwxr-xr-xDoc/tools/buildindex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tools/buildindex.py b/Doc/tools/buildindex.py
index 2566129..909fb09 100755
--- a/Doc/tools/buildindex.py
+++ b/Doc/tools/buildindex.py
@@ -182,8 +182,8 @@ def format_nodes(nodes):
append(",\n%s %s[Link]</a>" % (level * DL_LEVEL_INDENT, link))
previous = current
append("\n")
- append("</dl><p>" * (level + 1))
- append("\n")
+ append("</dl>" * (level + 1))
+ append("\n<p>\n")
return string.join(strings, '')