]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-27032, bpo-37328: Document removing HTMLParser.unescape(). (GH-22288)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 17 Sep 2020 08:49:01 +0000 (11:49 +0300)
committerGitHub <noreply@github.com>
Thu, 17 Sep 2020 08:49:01 +0000 (11:49 +0300)
Doc/whatsnew/3.9.rst

index be7406e13c2cd44958c590c2b283101e865a8c26..e1ea799b76296da05ff0f3b546f25848ad159b3a 100644 (file)
@@ -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
 =====================