mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Allow the LaTeX markup descriptions to use the \moreargs and \unspecified
macros in the argument list position.
This commit is contained in:
parent
d34580cb87
commit
2964268db5
1 changed files with 5 additions and 1 deletions
|
|
@ -17,7 +17,9 @@
|
||||||
\item[\code{\e begin\{{\bfseries #1}\}{%
|
\item[\code{\e begin\{{\bfseries #1}\}{%
|
||||||
\let\op=\py@ltx@optparam%
|
\let\op=\py@ltx@optparam%
|
||||||
\let\p=\py@ltx@param%
|
\let\p=\py@ltx@param%
|
||||||
#2}}]
|
\let\unspecified=\py@unspecified%
|
||||||
|
\let\moreargs=\py@moreargs%
|
||||||
|
#2}}]
|
||||||
\item[\code{\e end\{{\bfseries #1}\}}]
|
\item[\code{\e end\{{\bfseries #1}\}}]
|
||||||
\index{#1 environment@\idxcode{#1} environment}
|
\index{#1 environment@\idxcode{#1} environment}
|
||||||
\index{environments!#1@\idxcode{#1}}
|
\index{environments!#1@\idxcode{#1}}
|
||||||
|
|
@ -28,6 +30,8 @@
|
||||||
\item[\code{{\e\bfseries#1}{%
|
\item[\code{{\e\bfseries#1}{%
|
||||||
\let\op=\py@ltx@optparam%
|
\let\op=\py@ltx@optparam%
|
||||||
\let\p=\py@ltx@param%
|
\let\p=\py@ltx@param%
|
||||||
|
\let\unspecified=\py@unspecified%
|
||||||
|
\let\moreargs=\py@moreargs%
|
||||||
#2}}]
|
#2}}]
|
||||||
\index{#1@\idxcode{\e #1}}
|
\index{#1@\idxcode{\e #1}}
|
||||||
}{\end{fulllineitems}}
|
}{\end{fulllineitems}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue