mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
[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 1cc391d9e2
)
Co-authored-by: temach <tematibr@gmail.com>
This commit is contained in:
parent
78a2a8c026
commit
f51cdfaaac
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue