\py@modindex: Format the index entry for the module index more like
authorFred Drake <fdrake@acm.org>
Tue, 26 Jan 1999 19:23:09 +0000 (19:23 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 26 Jan 1999 19:23:09 +0000 (19:23 +0000)
that used in the "normal" index.  No visual difference, but
more easily processed by helper scripts.

Doc/texinputs/python.sty

index 904e971d39fed9f0981e6bab96f696d29cbd3142..8f957640b5d48e5da83033bebf1becfec7c1634d 100644 (file)
   \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%
 }