mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
\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:
parent
176bda4cde
commit
75700db7f0
1 changed files with 3 additions and 3 deletions
|
@ -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}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue