8000 [3.9] bpo-27032, bpo-37328: Document removing HTMLParser.unescape() (… · python/cpython@4daeb9e · GitHub
[go: up one dir, main page]

Skip to content

Commit 4daeb9e

Browse files
[3.9] bpo-27032, bpo-37328: Document removing HTMLParser.unescape() (GH-22288)
(cherry picked from commit a33f2c2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 1f7c99c commit 4daeb9e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/whatsnew/3.9.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,11 @@ Removed
892892
:func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead.
893893
(Contributed by Rémi Lapeyre in :issue:`40967`)
894894

895+
* The ``unescape()`` method in the :class:`html.parser.HTMLParser` class
896+
has been removed (it was deprecated since Python 3.4). :func:`html.unescape`
897+
should be used for converting character references to the corresponding
898+
unicode characters.
899+
895900

896901
Porting to Python 3.9
897902
=====================

0 commit comments

Comments
 (0)
0