]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[docs] fix some asyncio.Barrier.wait docs grammar (GH-93552)
authorThomas Grainger <tagrain@gmail.com>
Mon, 6 Jun 2022 18:10:42 +0000 (19:10 +0100)
committerGitHub <noreply@github.com>
Mon, 6 Jun 2022 18:10:42 +0000 (20:10 +0200)
Doc/library/asyncio-sync.rst

index b87b1c54bd992bcc1b892b7b3263f3fa983635db..05bdf5488af143c7f31185e11da46a6622ead773 100644 (file)
@@ -411,8 +411,8 @@ Barrier
          ...
          async with barrier as position:
             if position == 0:
-               # Only one task print this
-               print('End of *draining phasis*')
+               # Only one task prints this
+               print('End of *draining phase*')
 
       This method may raise a :class:`BrokenBarrierError` exception if the
       barrier is broken or reset while a task is waiting.