Mercurial > cpython-lru_cache-weakref
diff Doc/library/html.parser.rst @ 47434:f150177ff1ff
Remove the htmllib and sgmllib modules as per PEP 3108.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sun, 01 Jun 2008 21:25:55 +0000 |
| parents | cdb75af2385a |
| children | 34ea588ac3c5 |
line wrap: on
line diff
--- a/Doc/library/html.parser.rst Sun Jun 01 21:05:17 2008 +0000 +++ b/Doc/library/html.parser.rst Sun Jun 01 21:25:55 2008 +0000 @@ -11,9 +11,6 @@ This module defines a class :class:`HTMLParser` which serves as the basis for parsing text files formatted in HTML (HyperText Mark-up Language) and XHTML. -Unlike the parser in :mod:`htmllib`, this parser is not based on the SGML parser -in :mod:`sgmllib`. - .. class:: HTMLParser() @@ -23,9 +20,8 @@ begin and end. The :class:`HTMLParser` class is meant to be overridden by the user to provide a desired behavior. - Unlike the parser in :mod:`htmllib`, this parser does not check that end tags - match start tags or call the end-tag handler for elements which are closed - implicitly by closing an outer element. + This parser does not check that end tags match start tags or call the end-tag + handler for elements which are closed implicitly by closing an outer element. An exception is defined as well:
