Commit 450d0b9e authored by Skip Montanaro's avatar Skip Montanaro

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

revealed itself when i added index generating lines to doc/doc.tex)
parent 50fa1b3a
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
\let\moreargs=\py@moreargs% \let\moreargs=\py@moreargs%
#2}}] #2}}]
\item[\code{\e end\{{\bfseries #1}\}}] \item[\code{\e end\{{\bfseries #1}\}}]
\index{#1 environment@\idxcode{#1} environment} \index{#1 environment@\py@idxcode{#1} environment}
\index{environments!#1@\idxcode{#1}} \index{environments!#1@\py@idxcode{#1}}
}{\end{fulllineitems}} }{\end{fulllineitems}}
\newenvironment{macrodesc}[2]{ \newenvironment{macrodesc}[2]{
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
\let\unspecified=\py@unspecified% \let\unspecified=\py@unspecified%
\let\moreargs=\py@moreargs% \let\moreargs=\py@moreargs%
#2}}] #2}}]
\index{#1@\idxcode{\e #1}} \index{#1@\py@idxcode{#1}}
}{\end{fulllineitems}} }{\end{fulllineitems}}
\newcommand{\env}[1]{\code{#1}} \newcommand{\env}[1]{\code{#1}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment