]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fixes typo in asyncio.TaskGroup context manager code example (GH-101449)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 31 Jan 2023 05:46:35 +0000 (21:46 -0800)
committerGitHub <noreply@github.com>
Tue, 31 Jan 2023 05:46:35 +0000 (21:46 -0800)
(cherry picked from commit ef09bf63d22b2efe5c0e9a2b9f25a9bec2ba1db0)

Co-authored-by: Ben <22038077+bcla22@users.noreply.github.com>
Doc/library/asyncio-task.rst

index bf922fae40ab917849ff24308c5194b798594923..24e43c3cbfcb93006acd57248c3117153ca22ac1 100644 (file)
@@ -121,7 +121,7 @@ To actually run a coroutine, asyncio provides the following mechanisms:
 
               print(f"started at {time.strftime('%X')}")
 
-          # The wait is implicit when the context manager exits.
+          # The await is implicit when the context manager exits.
 
           print(f"finished at {time.strftime('%X')}")