]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
quick workaround to make "--" in a code sample not be treated wrongly
authorFred Drake <fdrake@acm.org>
Tue, 16 Dec 2003 02:01:22 +0000 (02:01 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 16 Dec 2003 02:01:22 +0000 (02:01 +0000)
(converted to an en-dash) by LaTeX2HTML

Doc/lib/libhtmlparser.tex

index 3912653546207e4b6da479c29665035ad1619585..ce983f3e956f1f51fdf3790996f37eaea7bb9af7 100644 (file)
@@ -109,10 +109,10 @@ base class implementation does nothing.
 \begin{methoddesc}{handle_comment}{data}
 This method is called when a comment is encountered.  The
 \var{comment} argument is a string containing the text between the
-\samp{{-}{-}} and \samp{{-}{-}} delimiters, but not the delimiters
-themselves.  For example, the comment \samp{<!{-}{-}text{-}{-}>} will
-cause this method to be called with the argument \code{'text'}.  It is
-intended to be overridden by a derived class; the base class
+\samp{-\code{-}} and \samp{-\code{-}} delimiters, but not the delimiters
+themselves.  For example, the comment \samp{<!-\code{-}text-\code{-}>}
+will cause this method to be called with the argument \code{'text'}.
+It is intended to be overridden by a derived class; the base class
 implementation does nothing.
 \end{methoddesc}