[Python-checkins] bpo-27032, bpo-37328: Document removing HTMLParser.unescape(). (GH-22288)

Serhiy Storchaka webhook-mailer at python.org
Thu Sep 17 04:49:07 EDT 2020

commit: a33f2c2bae759fc9d06e1c032fd2026135f2df45
branch: master
author: Serhiy Storchaka <storchaka at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-09-17T11:49:01+03:00

bpo-27032, bpo-37328: Document removing HTMLParser.unescape(). (GH-22288)

M Doc/whatsnew/3.9.rst

diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index be7406e13c2cd..e1ea799b76296 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -887,6 +887,12 @@ Removed
   :func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead.
   (Contributed by Rémi Lapeyre in :issue:`40967`)
+* The ``unescape()`` method in the :class:`html.parser.HTMLParser` class
+  has been removed (it was deprecated since Python 3.4).  :func:`html.unescape`
+  should be used for converting character references to the corresponding
+  unicode characters.
 Porting to Python 3.9

More information about the Python-checkins mailing list