summaryrefslogtreecommitdiffstats
path: root/Doc/tools/buildindex.py
diff options
context:
space:
mode:
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, '')