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

(cherry picked from commit a33f2c2bae)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
Terry Jan Reedy 2020-09-17 20:47:22 -04:00 committed by GitHub
parent 1f7c99ccf6
commit 4daeb9eec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -892,6 +892,11 @@ Removed
:func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead. :func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead.
(Contributed by Rémi Lapeyre in :issue:`40967`) (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 Porting to Python 3.9
===================== =====================