summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-04-23 14:44:53 (GMT)
committerFred Drake <fdrake@acm.org>1999-04-23 14:44:53 (GMT)
commitd960dc81b5b436eeeb8b9fd3e3092a0fbddad302 (patch)
treeb7f166947998007600c8d7f831cc828bf05b07f4 /Doc
parent7a737dffc481a1041269d6c315e34ab9227f3234 (diff)
downloadcpython-d960dc81b5b436eeeb8b9fd3e3092a0fbddad302.zip
cpython-d960dc81b5b436eeeb8b9fd3e3092a0fbddad302.tar.gz
cpython-d960dc81b5b436eeeb8b9fd3e3092a0fbddad302.tar.bz2
Fix square brackets around optional parameters to macros.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/texinputs/ltxmarkup.sty4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/texinputs/ltxmarkup.sty b/Doc/texinputs/ltxmarkup.sty
index 440e697..62ef4f3 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}}