Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libhtmlparser.tex @ 30206:d2e4c94efbaa legacy-trunk
SF bug #793702: Section 13.1 HTMLParser documentation error
The -- is special to TeX and was printing as just -.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Mon, 25 Aug 2003 03:31:28 +0000 |
| parents | ee6df2c668ea |
| children | 94c1bd7a55ae |
line wrap: on
line diff
--- a/Doc/lib/libhtmlparser.tex Sat Aug 23 03:49:08 2003 +0000 +++ b/Doc/lib/libhtmlparser.tex Mon Aug 25 03:31:28 2003 +0000 @@ -109,7 +109,7 @@ \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 +\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
