[Python-checkins] [docs] fix some asyncio.Barrier.wait docs grammar (GH-93552)

ambv webhook-mailer at python.org
Mon Jun 6 14:10:47 EDT 2022


https://github.com/python/cpython/commit/46fde1feb5fce0f8711ff8c0e1bab317b580d387
commit: 46fde1feb5fce0f8711ff8c0e1bab317b580d387
branch: main
author: Thomas Grainger <tagrain at gmail.com>
committer: ambv <lukasz at langa.pl>
date: 2022-06-06T20:10:42+02:00
summary:

[docs] fix some asyncio.Barrier.wait docs grammar (GH-93552)

files:
M Doc/library/asyncio-sync.rst

diff --git a/Doc/library/asyncio-sync.rst b/Doc/library/asyncio-sync.rst
index b87b1c54bd992..05bdf5488af14 100644
--- a/Doc/library/asyncio-sync.rst
+++ b/Doc/library/asyncio-sync.rst
@@ -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.



More information about the Python-checkins mailing list