]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fixes typo in asyncio.TaskGroup context manager code example (#101449)
authorBen <22038077+bcla22@users.noreply.github.com>
Tue, 31 Jan 2023 05:36:40 +0000 (00:36 -0500)
committerGitHub <noreply@github.com>
Tue, 31 Jan 2023 05:36:40 +0000 (21:36 -0800)
Doc/library/asyncio-task.rst

index 631a5ddc1f65009fd97a5e4687f4eb0bddbdfbf9..9a42b963167685b9985ab4180093959b784d46e3 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')}")