diff Doc/texinputs/python.sty @ 9958:2750e1de6829 legacy-trunk

\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.
author Fred Drake <fdrake@acm.org>
date Tue, 26 Jan 1999 19:23:09 +0000
parents a58f36352c4f
children 485502c42d89
line wrap: on
line diff
--- a/Doc/texinputs/python.sty	Tue Jan 26 15:47:59 1999 +0000
+++ b/Doc/texinputs/python.sty	Tue Jan 26 19:23:09 1999 +0000
@@ -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%
 }