summaryrefslogtreecommitdiffstats
path: root/Doc/library/htmlparser.rst
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2008-05-17 21:23:02 (GMT)
committerFred Drake <fdrake@acm.org>2008-05-17 21:23:02 (GMT)
commit20b56603c9fee9035314202d937cad9dfbb699d9 (patch)
tree08aeb896e96df20af3faf2d3bda0f97410ee8cd4 /Doc/library/htmlparser.rst
parentcb51d84214ed07268338392abef986b9a56d0141 (diff)
downloadcpython-20b56603c9fee9035314202d937cad9dfbb699d9.zip
cpython-20b56603c9fee9035314202d937cad9dfbb699d9.tar.gz
cpython-20b56603c9fee9035314202d937cad9dfbb699d9.tar.bz2
document the renames for modules moved to the html package
(http://bugs.python.org/issue2882)
Diffstat (limited to 'Doc/library/htmlparser.rst')
-rw-r--r--Doc/library/htmlparser.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/htmlparser.rst b/Doc/library/htmlparser.rst
index ee3e1f2..a58769a 100644
--- a/Doc/library/htmlparser.rst
+++ b/Doc/library/htmlparser.rst
@@ -2,9 +2,17 @@
:mod:`html.parser` --- Simple HTML and XHTML parser
===================================================
+.. module:: HTMLParser
+ :synopsis: Old name for the :mod:`html.parser` module.
+
.. module:: html.parser
:synopsis: A simple parser that can handle HTML and XHTML.
+.. note::
+ The :mod:`HTMLParser` module has been renamed to
+ :mod:`html.parser` in Python 3.0. It is importable under both names
+ in Python 2.6 and the rest of the 2.x series.
+
.. versionadded:: 2.2