[Python-checkins] r63489 - in python/trunk/Doc/library: htmllib.rst htmlparser.rst

georg.brandl python-checkins at python.org
Tue May 20 09:21:59 CEST 2008


Author: georg.brandl
Date: Tue May 20 09:21:58 2008
New Revision: 63489

Log:
Standardize renaming notes.


Modified:
   python/trunk/Doc/library/htmllib.rst
   python/trunk/Doc/library/htmlparser.rst

Modified: python/trunk/Doc/library/htmllib.rst
==============================================================================
--- python/trunk/Doc/library/htmllib.rst	(original)
+++ python/trunk/Doc/library/htmllib.rst	Tue May 20 09:21:58 2008
@@ -157,8 +157,10 @@
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake at 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``,

Modified: python/trunk/Doc/library/htmlparser.rst
==============================================================================
--- python/trunk/Doc/library/htmlparser.rst	(original)
+++ python/trunk/Doc/library/htmlparser.rst	Tue May 20 09:21:58 2008
@@ -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


More information about the Python-checkins mailing list