mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix square brackets around optional parameters to macros.
This commit is contained in:
parent
7a737dffc4
commit
d960dc81b5
1 changed files with 2 additions and 2 deletions
|
@ -25,10 +25,10 @@
|
|||
|
||||
\newenvironment{macrodesc}[2]{
|
||||
\begin{fulllineitems}
|
||||
\item[\code{\e\bfseries#1}{%
|
||||
\item[\code{{\e\bfseries#1}{%
|
||||
\let\op=\py@ltx@optparam%
|
||||
\let\p=\py@ltx@param%
|
||||
#2}]
|
||||
#2}}]
|
||||
\index{#1@\idxcode{\e #1}}
|
||||
}{\end{fulllineitems}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue