Skip to content

Commit

Permalink
[docs] fix some asyncio.Barrier.wait docs grammar (pythonGH-93552) (p…
Browse files Browse the repository at this point in the history
…ythonGH-93553)

(cherry picked from commit 46fde1f)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
  • Loading branch information
miss-islington and graingert authored Jun 6, 2022
1 parent a712c4b commit fd4dad5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/asyncio-sync.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fd4dad5

Please sign in to comment.