summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Grainger <tagrain@gmail.com>2022-06-06 18:10:42 (GMT)
committerGitHub <noreply@github.com>2022-06-06 18:10:42 (GMT)
commit46fde1feb5fce0f8711ff8c0e1bab317b580d387 (patch)
tree21e6c36881a91bcf4ee6798ce1cdc3d3547cf7b1
parent71c8f96971ead9b09fa381392b2c2188d36b5f59 (diff)
downloadcpython-46fde1feb5fce0f8711ff8c0e1bab317b580d387.zip
cpython-46fde1feb5fce0f8711ff8c0e1bab317b580d387.tar.gz
cpython-46fde1feb5fce0f8711ff8c0e1bab317b580d387.tar.bz2
[docs] fix some asyncio.Barrier.wait docs grammar (GH-93552)
-rw-r--r--Doc/library/asyncio-sync.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/asyncio-sync.rst b/Doc/library/asyncio-sync.rst
index b87b1c5..05bdf54 100644
--- a/Doc/library/asyncio-sync.rst
+++ b/Doc/library/asyncio-sync.rst
@@ -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.