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

ambv webhook-mailer at python.org
Mon Jun 6 14:51:43 EDT 2022


https://github.com/python/cpython/commit/fd4dad5ccafa1e26606acddbce4eb96fab00cd9f
commit: fd4dad5ccafa1e26606acddbce4eb96fab00cd9f
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2022-06-06T20:51:13+02:00
summary:

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

(cherry picked from commit 46fde1feb5fce0f8711ff8c0e1bab317b580d387)

Co-authored-by: Thomas Grainger <tagrain at gmail.com>

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