summaryrefslogtreecommitdiffstats
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
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...).
-rw-r--r--Doc/lib/libxmllib.tex2
-rw-r--r--Doc/libxmllib.tex2
2 files changed, 2 insertions, 2 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}
diff --git a/Doc/libxmllib.tex b/Doc/libxmllib.tex
index b9897a0..db4d750 100644
--- a/Doc/libxmllib.tex
+++ b/Doc/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}