]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-108224: Fix asyncio doc inconsistency (#108230)
authortemach <tematibr@gmail.com>
Mon, 21 Aug 2023 18:08:04 +0000 (00:08 +0600)
committerGitHub <noreply@github.com>
Mon, 21 Aug 2023 18:08:04 +0000 (18:08 +0000)
(Spawning subprocesses does not require the event loop to run in the main thread -- only signal handling does.)

Doc/library/asyncio-dev.rst

index c7d97008fb490e6d04596e321fd5ad698c5e8e84..a9c3a0183bb72d2be560ee2dff720cf36d022588 100644 (file)
@@ -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