8000 bpo-27032, bpo-37328: Document removing HTMLParser.unescape(). (GH-22… · terryjreedy/cpython@b87cb15 · GitHub
[go: up one dir, main page]

Skip to content

Commit b87cb15

Browse files
committed
bpo-27032, bpo-37328: Document removing HTMLParser.unescape(). (pythonGH-22288)
(cherry picked from commit a33f2c2)
1 parent 1f7c99c commit b87cb15

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