Skip to content

Commit

Permalink
gh-108224: Fix asyncio doc inconsistency (#108230)
Browse files Browse the repository at this point in the history
(Spawning subprocesses does not require the event loop to run in the main thread -- only signal handling does.)
  • Loading branch information
temach authored Aug 21, 2023
1 parent 0dd3fc2 commit 1cc391d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/asyncio-dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1cc391d

Please sign in to comment.