[Python-checkins] cpython (2.7): Issue #25017: Document that htmllib is superseded by module HTMLParser

martin.panter python-checkins at python.org
Fri Nov 13 19:45:11 EST 2015


https://hg.python.org/cpython/rev/7bc8f56ef1f3
changeset:   99120:7bc8f56ef1f3
branch:      2.7
user:        Martin Panter <vadmium+py at gmail.com>
date:        Sat Nov 14 00:30:46 2015 +0000
summary:
  Issue #25017: Document that htmllib is superseded by module HTMLParser

files:
  Doc/library/htmllib.rst |  2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/Doc/library/htmllib.rst b/Doc/library/htmllib.rst
--- a/Doc/library/htmllib.rst
+++ b/Doc/library/htmllib.rst
@@ -7,6 +7,8 @@
 
 .. deprecated:: 2.6
     The :mod:`htmllib` module has been removed in Python 3.
+    Use :mod:`HTMLParser` instead in Python 2, and the equivalent,
+    :mod:`html.parser`, in Python 3.
 
 
 .. index::

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list