.. 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``,
: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