diff options
author | Joongi Kim <joongi@lablup.com> | 2020-11-10 15:19:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 15:19:11 (GMT) |
commit | 3eb284622579d04289d0e3b2e97fbf56df6e845e (patch) | |
tree | 6afbe72ad336dc4ca5ff45b5654e66f218b5c2f8 | |
parent | 42d873c63aa9d160c132be4a34599531574db12c (diff) | |
download | cpython-3eb284622579d04289d0e3b2e97fbf56df6e845e.zip cpython-3eb284622579d04289d0e3b2e97fbf56df6e845e.tar.gz cpython-3eb284622579d04289d0e3b2e97fbf56df6e845e.tar.bz2 |
Update whatsnew for 3.10 release about addition of contextlib.aclosing (GH-23217)
-rw-r--r-- | Doc/whatsnew/3.10.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index a735bf2..95cdb06 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -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 ------ |