\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.
This commit is contained in:
Fred Drake 1999-01-26 19:23:09 +00:00
parent bc866ce2e3
commit 9f253dc3ff

View file

@ -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%
}