[docs] [issue25017] htmllib deprecated: Which library to use? Missing sane default in docs
report at bugs.python.org
Tue Oct 20 23:17:45 EDT 2015
Berker Peksag added the comment:
Thanks for the patch.
I think we can move the Python 3 part of the patch to a new note directive (similar to the example in httplib documentation: https://docs.python.org/2/library/httplib.html)
.. deprecated:: 2.6
Use :mode:`HTMLParser` instead.
The :mod:`htmllib` module has been removed in Python 3. Use :mod:`html.parser` (equivalent of :mode:`HTMLParser`) instead.
stage: needs patch -> patch review
Python tracker <report at bugs.python.org>
More information about the docs