From: Serhiy Storchaka Date: Thu, 17 Sep 2020 08:49:01 +0000 (+0300) Subject: bpo-27032, bpo-37328: Document removing HTMLParser.unescape(). (GH-22288) X-Git-Tag: v3.10.0a1~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a33f2c2bae759fc9d06e1c032fd2026135f2df45;p=thirdparty%2FPython%2Fcpython.git bpo-27032, bpo-37328: Document removing HTMLParser.unescape(). (GH-22288) --- diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index be7406e13c2c..e1ea799b7629 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 =====================