From: Thomas Grainger Date: Mon, 6 Jun 2022 18:10:42 +0000 (+0100) Subject: [docs] fix some asyncio.Barrier.wait docs grammar (GH-93552) X-Git-Tag: v3.12.0a1~1345 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=46fde1feb5fce0f8711ff8c0e1bab317b580d387;p=thirdparty%2FPython%2Fcpython.git [docs] fix some asyncio.Barrier.wait docs grammar (GH-93552) --- diff --git a/Doc/library/asyncio-sync.rst b/Doc/library/asyncio-sync.rst index b87b1c54bd99..05bdf5488af1 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.