summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-20 07:21:58 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-20 07:21:58 (GMT)
commit3682dfead55026016627e681cf7d376bbb053f35 (patch)
tree161426952acb8b259c9295753609d0de2ad661f5 /Doc
parent5a42ca6c04d2db1f3040ae43f37a4f350251c25c (diff)
downloadcpython-3682dfead55026016627e681cf7d376bbb053f35.zip
cpython-3682dfead55026016627e681cf7d376bbb053f35.tar.gz
cpython-3682dfead55026016627e681cf7d376bbb053f35.tar.bz2
Standardize renaming notes.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/htmllib.rst4
-rw-r--r--Doc/library/htmlparser.rst6
2 files changed, 7 insertions, 3 deletions
diff --git a/Doc/library/htmllib.rst b/Doc/library/htmllib.rst
index 16c1b35..aa07fdb 100644
--- a/Doc/library/htmllib.rst
+++ b/Doc/library/htmllib.rst
@@ -157,8 +157,10 @@ additional methods and instance variables for use within tag methods.
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
.. note::
+
The :mod:`htmlentitydefs` module has been renamed to :mod:`html.entities` in
- Python 3.0.
+ Python 3.0. The :term:`2to3` tool will automatically adapt imports when
+ converting your sources to 3.0.
This module defines three dictionaries, ``name2codepoint``, ``codepoint2name``,
diff --git a/Doc/library/htmlparser.rst b/Doc/library/htmlparser.rst
index 3019eb4..a5c185c 100644
--- a/Doc/library/htmlparser.rst
+++ b/Doc/library/htmlparser.rst
@@ -6,8 +6,10 @@
: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.
+
+ The :mod:`HTMLParser` module has been renamed to :mod:`html.parser` in Python
+ 3.0. The :term:`2to3` tool will automatically adapt imports when converting
+ your sources to 3.0.
.. versionadded:: 2.2