Skip to content

Commit b83d917

Browse files
and800miss-islington
authored andcommitted
Doc: fix asyncio loop.close() description (GH-10229)
Needs backport to 3.7. In 3.6 the description is correct.
1 parent f6a47f3 commit b83d917

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)