mirror of https://github.com/python/cpython
Update whatsnew for 3.10 release about addition of contextlib.aclosing (GH-23217)
This commit is contained in:
parent
42d873c63a
commit
3eb2846225
|
@ -176,6 +176,13 @@ codecs
|
|||
Add a :func:`codecs.unregister` function to unregister a codec search function.
|
||||
(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
|
||||
------
|
||||
|
||||
|
|
Loading…
Reference in New Issue