From: temach Date: Mon, 21 Aug 2023 18:08:04 +0000 (+0600) Subject: gh-108224: Fix asyncio doc inconsistency (#108230) X-Git-Tag: v3.13.0a1~873 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cc391d9e2ea24ca750005335507b52933fc0b52;p=thirdparty%2FPython%2Fcpython.git gh-108224: Fix asyncio doc inconsistency (#108230) (Spawning subprocesses does not require the event loop to run in the main thread -- only signal handling does.) --- diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst index c7d97008fb49..a9c3a0183bb7 100644 --- a/Doc/library/asyncio-dev.rst +++ b/Doc/library/asyncio-dev.rst @@ -99,7 +99,7 @@ To schedule a coroutine object from a different OS thread, the # Wait for the result: result = future.result() -To handle signals and to execute subprocesses, the event loop must be +To handle signals the event loop must be run in the main thread. The :meth:`loop.run_in_executor` method can be used with a