Skip to content

Commit

Permalink
[docs] fix some asyncio.Barrier.wait docs grammar (pythonGH-93552)
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert authored Jun 6, 2022
1 parent 71c8f96 commit 46fde1f
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 46fde1f

Please sign in to comment.