From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 1 Nov 2018 21:34:42 +0000 (-0700) Subject: Doc: fix asyncio loop.close() description (GH-10229) X-Git-Tag: v3.7.2rc1~195 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d69f015ba5e617f6e15e2dcaefa095b83bc40448;p=thirdparty%2FPython%2Fcpython.git Doc: fix asyncio loop.close() description (GH-10229) Needs backport to 3.7. In 3.6 the description is correct. (cherry picked from commit b83d917fafd87e4130f9c7d5209ad2debc7219cd) Co-authored-by: Andriy Maletsky --- diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index df453cdfb7d8..8215198ce91f 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -137,7 +137,7 @@ Running and stopping the loop Close the event loop. - The loop must be running when this function is called. + The loop must not be running when this function is called. Any pending callbacks will be discarded. This method clears all queues and shuts down the executor, but does