summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-01-26 19:23:09 (GMT)
committerFred Drake <fdrake@acm.org>1999-01-26 19:23:09 (GMT)
commit9f253dc3ffb09c7a3163503453eddab060acec26 (patch)
tree7a83a130cfbe518bbbcbe7bd339b1875f55429bf /Doc
parentbc866ce2e34b240e51b639345742e86473cb038d (diff)
downloadcpython-9f253dc3ffb09c7a3163503453eddab060acec26.zip
cpython-9f253dc3ffb09c7a3163503453eddab060acec26.tar.gz
cpython-9f253dc3ffb09c7a3163503453eddab060acec26.tar.bz2
\py@modindex: Format the index entry for the module index more like
that used in the "normal" index. No visual difference, but more easily processed by helper scripts.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/texinputs/python.sty2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index 904e971..8f95764 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -257,7 +257,7 @@
\setindexsubitem{(in module #1)}%
\index{#1@{\py@idxcode{#1}} (#2module)|textbf}%
\ifpy@UseModuleIndex%
- \write\modindexfile{\protect\indexentry{#1@{\tt #1}}{\thepage}}%
+ \write\modindexfile{\protect\indexentry{#1@{\texttt {#1}}}{\thepage}}%
\fi%
}