[Python-checkins] Doc: fix asyncio loop.close() description (GH-10229)

Miss Islington (bot) webhook-mailer at python.org
Thu Nov 1 17:34:46 EDT 2018

commit: d69f015ba5e617f6e15e2dcaefa095b83bc40448
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-11-01T14:34:42-07:00

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 <andriy.maletsky at gmail.com>

M Doc/library/asyncio-eventloop.rst

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

More information about the Python-checkins mailing list