mirror of https://github.com/python/cpython
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.)
This commit is contained in:
parent
0dd3fc2a64
commit
1cc391d9e2
|
@ -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…
Reference in New Issue