diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-08-21 19:44:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-21 19:44:08 (GMT) |
commit | f51cdfaaac71f2279156af5ffd042122443699d9 (patch) | |
tree | 15c1495d24de1efbd635f852f29ab6ab212db29f /Doc | |
parent | 78a2a8c026aa082a3ca71e5c86d2303a364c97be (diff) | |
download | cpython-f51cdfaaac71f2279156af5ffd042122443699d9.zip cpython-f51cdfaaac71f2279156af5ffd042122443699d9.tar.gz cpython-f51cdfaaac71f2279156af5ffd042122443699d9.tar.bz2 |
[3.12] gh-108224: Fix asyncio doc inconsistency (GH-108230) (#108231)
gh-108224: Fix asyncio doc inconsistency (GH-108230)
(Spawning subprocesses does not require the event loop to run in the main thread -- only signal handling does.)
(cherry picked from commit 1cc391d9e2ea24ca750005335507b52933fc0b52)
Co-authored-by: temach <tematibr@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/asyncio-dev.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 |