Skip to content

Commit 3bcae9d

Browse files
graingertmiss-islington
authored andcommitted
[docs] fix some asyncio.Barrier.wait docs grammar (pythonGH-93552)
(cherry picked from commit 46fde1f) Co-authored-by: Thomas Grainger <[email protected]>
1 parent a712c4b commit 3bcae9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/asyncio-sync.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,8 @@ Barrier
411411
...
412412
async with barrier as position:
413413
if position == 0:
414-
# Only one task print this
415-
print('End of *draining phasis*')
414+
# Only one task prints this
415+
print('End of *draining phase*')
416416

417417
This method may raise a :class:`BrokenBarrierError` exception if the
418418
barrier is broken or reset while a task is waiting.

0 commit comments

Comments
 (0)