summaryrefslogtreecommitdiffstats
path: root/Doc/tools/mkmodindex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-04-03 04:19:14 (GMT)
committerFred Drake <fdrake@acm.org>2000-04-03 04:19:14 (GMT)
commitba82878a3bee6395a8ff13c9c307416a886f93cc (patch)
tree0711fbad046195399f506dc7b3dcf76ef452ea33 /Doc/tools/mkmodindex
parenta22b576d05d7f7b8f70341268a46c219a3fd6a9c (diff)
downloadcpython-ba82878a3bee6395a8ff13c9c307416a886f93cc.zip
cpython-ba82878a3bee6395a8ff13c9c307416a886f93cc.tar.gz
cpython-ba82878a3bee6395a8ff13c9c307416a886f93cc.tar.bz2
Merged changes from the 1.5.2p2 release.
Diffstat (limited to 'Doc/tools/mkmodindex')
-rwxr-xr-xDoc/tools/mkmodindex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/tools/mkmodindex b/Doc/tools/mkmodindex
index 4400cea..14568d1 100755
--- a/Doc/tools/mkmodindex
+++ b/Doc/tools/mkmodindex
@@ -47,8 +47,9 @@ def error(msg, rc=2):
_rx = re.compile(
- '<dt><a href="(module-.*\.html)">'
- '([a-zA-Z_][a-zA-Z0-9_.]*(\s*<em>\(.*\)</em>)?)</a>')
+ "<dt><a href='(module-.*\.html)#l2h-\d+'><tt class='module'>"
+ "([a-zA-Z_][a-zA-Z0-9_.]*</tt>(\s*<em>"
+ "\(<span class='platform'>.*</span>\)</em>)?)</a>")
def main():
outputfile = "-"