Update whatsnew for 3.10 release about addition of contextlib.aclosing (GH-23217)

This commit is contained in:
Joongi Kim 2020-11-11 00:19:11 +09:00 committed by GitHub
parent 42d873c63a
commit 3eb2846225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -176,6 +176,13 @@ codecs
Add a :func:`codecs.unregister` function to unregister a codec search function. Add a :func:`codecs.unregister` function to unregister a codec search function.
(Contributed by Hai Shi in :issue:`41842`.) (Contributed by Hai Shi in :issue:`41842`.)
contextlib
----------
Add a :func:`contextlib.aclosing` context manager to safely close async generators
and objects representing asynchronously released resources.
(Contributed by Joongi Kim and John Belmonte in :issue:`41229`.)
curses curses
------ ------