]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix square brackets around optional parameters to macros.
authorFred Drake <fdrake@acm.org>
Fri, 23 Apr 1999 14:44:53 +0000 (14:44 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 23 Apr 1999 14:44:53 +0000 (14:44 +0000)
Doc/texinputs/ltxmarkup.sty

index 440e697421d05ee9f6a1942a8cdba1b0a99726c7..62ef4f3ca395cc02684c9a48f70a4aaf8252364b 100644 (file)
 
 \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}}