]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-42396: Add a whatsnew entry about async contextlib.nullcontext (GH-23357)
authorTom Gringauz <tomgrin10@gmail.com>
Tue, 17 Nov 2020 22:58:35 +0000 (00:58 +0200)
committerGitHub <noreply@github.com>
Tue, 17 Nov 2020 22:58:35 +0000 (14:58 -0800)
Automerge-Triggered-By: GH:asvetlov
Doc/whatsnew/3.10.rst

index 786cc61003a593baae1cca61318d9981ac51726c..41252b8e0ab011e4365a8fbc8d606ed5ac38abf8 100644 (file)
@@ -183,6 +183,9 @@ Add a :func:`contextlib.aclosing` context manager to safely close async generato
 and objects representing asynchronously released resources.
 (Contributed by Joongi Kim and John Belmonte in :issue:`41229`.)
 
+Add asynchronous context manager support to :func:`contextlib.nullcontext`.
+(Contributed by Tom Gringauz in :issue:`41543`.)
+
 curses
 ------