]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix asyncio.get_event_loop() documentation (GH-18051)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 20 Jan 2020 22:52:35 +0000 (14:52 -0800)
committerGitHub <noreply@github.com>
Mon, 20 Jan 2020 22:52:35 +0000 (14:52 -0800)
commit6aeed01901d020363e383821b38614816d0b4032
treebfc53496de361eb77ae19123e7033371163d9e5b
parent4cdb75890abd4ee7694744d5c24248f6735b0534
Fix asyncio.get_event_loop() documentation (GH-18051)

Mention that the function implicitly creates new event loop only if called from the main thread.
(cherry picked from commit 2c49becc69c05934996a00b902e4a4f089b91954)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Doc/library/asyncio-eventloop.rst
Misc/NEWS.d/next/Documentation/2020-01-18-15-37-56.bpo-39381.wTWe8d.rst [new file with mode: 0644]