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

(cherry picked from commit 46fde1feb5)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
This commit is contained in:
Miss Islington (bot) 2022-06-06 11:51:13 -07:00 committed by GitHub
parent a712c4b26c
commit fd4dad5cca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.