summaryrefslogtreecommitdiffstats
path: root/Doc/library/html.parser.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-06-01 21:25:55 (GMT)
committerGeorg Brandl <georg@python.org>2008-06-01 21:25:55 (GMT)
commit877b10add4a676c3f868b86bd31e92a181b5a5b1 (patch)
tree9a7455ce3aa5f07e8f433a8aa9b59540b2cf2b40 /Doc/library/html.parser.rst
parent6b38daa80dc0b63a089ac4557e25abe1f76b95af (diff)
downloadcpython-877b10add4a676c3f868b86bd31e92a181b5a5b1.zip
cpython-877b10add4a676c3f868b86bd31e92a181b5a5b1.tar.gz
cpython-877b10add4a676c3f868b86bd31e92a181b5a5b1.tar.bz2
Remove the htmllib and sgmllib modules as per PEP 3108.
Diffstat (limited to 'Doc/library/html.parser.rst')
-rw-r--r--Doc/library/html.parser.rst8
1 files changed, 2 insertions, 6 deletions
diff --git a/Doc/library/html.parser.rst b/Doc/library/html.parser.rst
index fe6748a..78b7677 100644
--- a/Doc/library/html.parser.rst
+++ b/Doc/library/html.parser.rst
@@ -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 @@ in :mod:`sgmllib`.
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: