summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libxmllib.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1997-12-29 19:59:38 (GMT)
committerFred Drake <fdrake@acm.org>1997-12-29 19:59:38 (GMT)
commitb0744c5a28c48066e40bec536e4cbc48f031ed4a (patch)
treec19d54854943d4a5ab92e57417727f8145e0d355 /Doc/lib/libxmllib.tex
parent9fd41e363b4780ae9af475f9c23c0a3cf69d70ad (diff)
downloadcpython-b0744c5a28c48066e40bec536e4cbc48f031ed4a.zip
cpython-b0744c5a28c48066e40bec536e4cbc48f031ed4a.tar.gz
cpython-b0744c5a28c48066e40bec536e4cbc48f031ed4a.tar.bz2
Make "{" and "}" in code sample visible instead of a group (it's supposed to
be a dictionary...).
Diffstat (limited to 'Doc/lib/libxmllib.tex')
-rw-r--r--Doc/lib/libxmllib.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libxmllib.tex b/Doc/lib/libxmllib.tex
index b9897a0..db4d750 100644
--- a/Doc/lib/libxmllib.tex
+++ b/Doc/lib/libxmllib.tex
@@ -50,7 +50,7 @@ attributes, the key being the \var{name} and the value being the
Lower case and double quotes and backslashes in the \var{value} have
been interpreted. For instance, for the tag
\code{<A HREF="http://www.cwi.nl/">}, this method would be called as
-\code{handle_starttag('A', self.start_A, {'HREF': 'http://www.cwi.nl/'})}.
+\code{handle_starttag('A', self.start_A, \{'HREF': 'http://www.cwi.nl/'\})}.
The base implementation simply calls \code{method} with \code{attributes}
as the only argument.
\end{funcdesc}