From: Fred Drake Date: Fri, 23 Apr 1999 14:44:53 +0000 (+0000) Subject: Fix square brackets around optional parameters to macros. X-Git-Tag: v1.6a1~1493 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d960dc81b5b436eeeb8b9fd3e3092a0fbddad302;p=thirdparty%2FPython%2Fcpython.git Fix square brackets around optional parameters to macros. --- diff --git a/Doc/texinputs/ltxmarkup.sty b/Doc/texinputs/ltxmarkup.sty index 440e697421d0..62ef4f3ca395 100644 --- a/Doc/texinputs/ltxmarkup.sty +++ b/Doc/texinputs/ltxmarkup.sty @@ -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}}