[Python-checkins] Clarify new_event_loop return value. (GH-30078) (GH-30089)

asvetlov webhook-mailer at python.org
Mon Dec 13 08:25:59 EST 2021


https://github.com/python/cpython/commit/9b687596df80e4cd40a13b2486cc12fcef903257
commit: 9b687596df80e4cd40a13b2486cc12fcef903257
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: asvetlov <andrew.svetlov at gmail.com>
date: 2021-12-13T15:25:54+02:00
summary:

Clarify new_event_loop return value. (GH-30078) (GH-30089)

(cherry picked from commit e09705f58fc2ff3cc2720c6337ae3f48bb7cb090)

Co-authored-by: Paul Bryan <pbryan at anode.ca>

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

diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index 73799d005c157..140851ce2e448 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -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



More information about the Python-checkins mailing list