]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.9] bpo-27032, bpo-37328: Document removing HTMLParser.unescape() (GH-22288)
authorTerry Jan Reedy <tjreedy@udel.edu>
Fri, 18 Sep 2020 00:47:22 +0000 (20:47 -0400)
committerŁukasz Langa <lukasz@langa.pl>
Sun, 4 Oct 2020 15:30:47 +0000 (17:30 +0200)
(cherry picked from commit a33f2c2bae759fc9d06e1c032fd2026135f2df45)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Doc/whatsnew/3.9.rst

index 2b7cbaa48531a9526bcde92b78d048815e587b8b..40c1592af4d5c6c6f9b87a5c831ff8c941e4a766 100644 (file)
@@ -892,6 +892,11 @@ 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
 =====================