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

Skip to content

Commit a33f2c2

Browse files
bpo-27032, bpo-37328: Document removing HTMLParser.unescape(). (GH-22288)
1 parent 0b419b7 commit a33f2c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/whatsnew/3.9.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,12 @@ Removed
887887
:func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead.
888888
(Contributed by Rémi Lapeyre in :issue:`40967`)
889889

890+
* The ``unescape()`` method in the :class:`html.parser.HTMLParser` class
891+
has been removed (it was deprecated since Python 3.4). :func:`html.unescape`
892+
should be used for converting character references to the corresponding
893+
unicode characters.
894+
895+
890896
Porting to Python 3.9
891897
=====================
892898

0 commit comments

Comments
 (0)
0