From 1cc391d9e2ea24ca750005335507b52933fc0b52 Mon Sep 17 00:00:00 2001 From: temach Date: Tue, 22 Aug 2023 00:08:04 +0600 Subject: 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.) --- Doc/library/asyncio-dev.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst index c7d9700..a9c3a01 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 -- cgit v0.12