Skip to content

Commit d69f015

Browse files
Doc: fix asyncio loop.close() description (GH-10229)
Needs backport to 3.7. In 3.6 the description is correct. (cherry picked from commit b83d917) Co-authored-by: Andriy Maletsky <[email protected]>
1 parent 7d35553 commit d69f015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/asyncio-eventloop.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Running and stopping the loop
137137

138138
Close the event loop.
139139

140-
The loop must be running when this function is called.
140+
The loop must not be running when this function is called.
141141
Any pending callbacks will be discarded.
142142

143143
This method clears all queues and shuts down the executor, but does

0 commit comments

Comments
 (0)