mirror of https://github.com/python/cpython
[docs] fix some asyncio.Barrier.wait docs grammar (GH-93552)
This commit is contained in:
parent
71c8f96971
commit
46fde1feb5
|
@ -411,8 +411,8 @@ Barrier
|
||||||
...
|
...
|
||||||
async with barrier as position:
|
async with barrier as position:
|
||||||
if position == 0:
|
if position == 0:
|
||||||
# Only one task print this
|
# Only one task prints this
|
||||||
print('End of *draining phasis*')
|
print('End of *draining phase*')
|
||||||
|
|
||||||
This method may raise a :class:`BrokenBarrierError` exception if the
|
This method may raise a :class:`BrokenBarrierError` exception if the
|
||||||
barrier is broken or reset while a task is waiting.
|
barrier is broken or reset while a task is waiting.
|
||||||
|
|
Loading…
Reference in New Issue