]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Clarify new_event_loop return value. (GH-30078) (GH-30089)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 13 Dec 2021 13:25:54 +0000 (05:25 -0800)
committerGitHub <noreply@github.com>
Mon, 13 Dec 2021 13:25:54 +0000 (15:25 +0200)
(cherry picked from commit e09705f58fc2ff3cc2720c6337ae3f48bb7cb090)

Co-authored-by: Paul Bryan <pbryan@anode.ca>
Doc/library/asyncio-eventloop.rst

index 73799d005c157898c5781bd92d38829eea529342..140851ce2e44810bc1776ee648059dee407bf4fc 100644 (file)
@@ -59,7 +59,7 @@ an event loop:
 
 .. function:: new_event_loop()
 
-   Create a new event loop object.
+   Create and return a new event loop object.
 
 Note that the behaviour of :func:`get_event_loop`, :func:`set_event_loop`,
 and :func:`new_event_loop` functions can be altered by