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@gmail.com>
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index df453cd..8215198 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -137,7 +137,7 @@
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