From: Fred Drake Date: Mon, 29 Dec 1997 19:59:38 +0000 (+0000) Subject: Make "{" and "}" in code sample visible instead of a group (it's supposed to X-Git-Tag: v1.5~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b0744c5a28c48066e40bec536e4cbc48f031ed4a;p=python Make "{" and "}" in code sample visible instead of a group (it's supposed to be a dictionary...). --- diff --git a/Doc/lib/libxmllib.tex b/Doc/lib/libxmllib.tex index b9897a0e78..db4d7509ee 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{}, 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 b9897a0e78..db4d7509ee 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{}, 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}