]> granicus.if.org Git - python/commitdiff
SF bug #793702: Section 13.1 HTMLParser documentation error
authorRaymond Hettinger <python@rcn.com>
Mon, 25 Aug 2003 03:31:28 +0000 (03:31 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 25 Aug 2003 03:31:28 +0000 (03:31 +0000)
The -- is special to TeX and was printing as just -.

Doc/lib/libhtmlparser.tex

index f7bbf63734bf736fee56f33815ea91055cb10d4e..b6b8c987e14af2acda336f447110796cea92af6b 100644 (file)
@@ -109,7 +109,7 @@ 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
+\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