\idxcode -> \py@idxcode (mimics index stuff in python.sty - problem only

revealed itself when i added index generating lines to doc/doc.tex)
This commit is contained in:
Skip Montanaro 2002-04-19 04:52:44 +00:00
parent 176bda4cde
commit 75700db7f0
1 changed files with 3 additions and 3 deletions

View File

@ -21,8 +21,8 @@
\let\moreargs=\py@moreargs%
#2}}]
\item[\code{\e end\{{\bfseries #1}\}}]
\index{#1 environment@\idxcode{#1} environment}
\index{environments!#1@\idxcode{#1}}
\index{#1 environment@\py@idxcode{#1} environment}
\index{environments!#1@\py@idxcode{#1}}
}{\end{fulllineitems}}
\newenvironment{macrodesc}[2]{
@ -33,7 +33,7 @@
\let\unspecified=\py@unspecified%
\let\moreargs=\py@moreargs%
#2}}]
\index{#1@\idxcode{\e #1}}
\index{#1@\py@idxcode{#1}}
}{\end{fulllineitems}}
\newcommand{\env}[1]{\code{#1}}