summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2020-09-18 00:47:22 (GMT)
committerGitHub <noreply@github.com>2020-09-18 00:47:22 (GMT)
commit4daeb9eec294f73a5811ef6ab3a0f8e61174a24c (patch)
tree21f73bfba0e24d6c6766e218e638872b5777761b /Doc/whatsnew
parent1f7c99ccf600bd1f3ef3168cc033d963f825d0e1 (diff)
downloadcpython-4daeb9eec294f73a5811ef6ab3a0f8e61174a24c.zip
cpython-4daeb9eec294f73a5811ef6ab3a0f8e61174a24c.tar.gz
cpython-4daeb9eec294f73a5811ef6ab3a0f8e61174a24c.tar.bz2
[3.9] bpo-27032, bpo-37328: Document removing HTMLParser.unescape() (GH-22288)
(cherry picked from commit a33f2c2bae759fc9d06e1c032fd2026135f2df45) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.9.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 2b7cbaa..40c1592 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -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
=====================