From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 6 Jun 2022 18:51:13 +0000 (-0700) Subject: [docs] fix some asyncio.Barrier.wait docs grammar (GH-93552) (GH-93553) X-Git-Tag: v3.11.0b4~219 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd4dad5ccafa1e26606acddbce4eb96fab00cd9f;p=thirdparty%2FPython%2Fcpython.git [docs] fix some asyncio.Barrier.wait docs grammar (GH-93552) (GH-93553) (cherry picked from commit 46fde1feb5fce0f8711ff8c0e1bab317b580d387) Co-authored-by: Thomas Grainger --- 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.