]> granicus.if.org Git - python/commitdiff
Standardize renaming notes.
authorGeorg Brandl <georg@python.org>
Tue, 20 May 2008 07:21:58 +0000 (07:21 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 20 May 2008 07:21:58 +0000 (07:21 +0000)
Doc/library/htmllib.rst
Doc/library/htmlparser.rst

index 16c1b3586c4d11ea4382a55c4202a17d9a074ad0..aa07fdb06ae8a7029b6eec91d034c6468ab50896 100644 (file)
@@ -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``,
index 3019eb4699f8b9279512fd5120950a221fac64f8..a5c185cd736d6c7c1f0c8dd63b1b943e779c328b 100644 (file)
@@ -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