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

Miss Islington (bot) webhook-mailer at python.org
Mon Oct 29 17:39:28 EDT 2018


https://github.com/python/cpython/commit/b83d917fafd87e4130f9c7d5209ad2debc7219cd
commit: b83d917fafd87e4130f9c7d5209ad2debc7219cd
branch: master
author: Andriy Maletsky <andriy.maletsky at gmail.com>
committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
date: 2018-10-29T14:39:21-07:00
summary:

Doc: fix asyncio loop.close() description (GH-10229)



Needs backport to 3.7. In 3.6 the description is correct.

files:
M Doc/library/asyncio-eventloop.rst

diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index 96f5e0b38a9f..d24413a4a7fb 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