Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libhtmlparser.tex @ 31204:dd789072d949 2.3
quick workaround to make "--" in a code sample not be treated wrongly
(converted to an en-dash) by LaTeX2HTML
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Tue, 16 Dec 2003 02:01:22 +0000 |
| parents | 94c1bd7a55ae |
| children | def275277280 |
line wrap: on
line diff
--- a/Doc/lib/libhtmlparser.tex Mon Dec 15 15:46:04 2003 +0000 +++ b/Doc/lib/libhtmlparser.tex Tue Dec 16 02:01:22 2003 +0000 @@ -109,10 +109,10 @@ \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}
