https://github.com/python/cpython/commit/aea2e03b276c79f8934d17056a68899e69763fae
commit: aea2e03b276c79f8934d17056a68899e69763fae
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: asvetlov <[email protected]>
date: 2024-12-27T14:22:25Z
summary:

[3.13] Mention loop_factory argument in docstring for asyncio.run() (GH-128288) 
(#128291)

Mention loop_factory argument in docstring for asyncio.run() (GH-128288)
(cherry picked from commit 0b5f1fae573a2c658eb000433ad7b87e9c40c697)

Co-authored-by: Andrew Svetlov <[email protected]>

files:
M Lib/asyncio/runners.py

diff --git a/Lib/asyncio/runners.py b/Lib/asyncio/runners.py
index 1b89236599aad7..102ae78021b22f 100644
--- a/Lib/asyncio/runners.py
+++ b/Lib/asyncio/runners.py
@@ -168,6 +168,7 @@ def run(main, *, debug=None, loop_factory=None):
     running in the same thread.
 
     If debug is True, the event loop will be run in debug mode.
+    If loop_factory is passed, it is used for new event loop creation.
 
     This function always creates a new event loop and closes it at the end.
     It should be used as a main entry point for asyncio programs, and should

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to