summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/texinputs')
-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%
}