Skip to content

Commit 3eb2846

Browse files
authored
Update whatsnew for 3.10 release about addition of contextlib.aclosing (GH-23217)
1 parent 42d873c commit 3eb2846

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,13 @@ codecs
176176
Add a :func:`codecs.unregister` function to unregister a codec search function.
177177
(Contributed by Hai Shi in :issue:`41842`.)
178178

179+
contextlib
180+
----------
181+
182+
Add a :func:`contextlib.aclosing` context manager to safely close async generators
183+
and objects representing asynchronously released resources.
184+
(Contributed by Joongi Kim and John Belmonte in :issue:`41229`.)
185+
179186
curses
180187
------
181188

0 commit comments

Comments
 (0)