]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: fix asyncio loop.close() description (GH-10229)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 1 Nov 2018 21:34:42 +0000 (14:34 -0700)
committerGitHub <noreply@github.com>
Thu, 1 Nov 2018 21:34:42 +0000 (14:34 -0700)
Needs backport to 3.7. In 3.6 the description is correct.
(cherry picked from commit b83d917fafd87e4130f9c7d5209ad2debc7219cd)

Co-authored-by: Andriy Maletsky <andriy.maletsky@gmail.com>
Doc/library/asyncio-eventloop.rst

index df453cdfb7d82e015f6de6d8d4122980ec5234b8..8215198ce91f1c140f56ed7b5fc6c20c84f7bee0 100644 (file)
@@ -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