Skip to content

Commit 46fde1f

Browse files
authored
[docs] fix some asyncio.Barrier.wait docs grammar (GH-93552)
1 parent 71c8f96 commit 46fde1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/asyncio-sync.rst

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy