Make "{" and "}" in code sample visible instead of a group (it's supposed to

be a dictionary...).
This commit is contained in:
Fred Drake 1997-12-29 19:59:38 +00:00
parent 9fd41e363b
commit b0744c5a28
2 changed files with 2 additions and 2 deletions

View file

@ -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}

View file

@ -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}