Skip to content

Commit 582b924

Browse files
Clarify about asyncio.
1 parent cd144de commit 582b924

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/reference/executionmodel.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,9 +576,10 @@ Once a program is running, new Python threads can be created using the
576576
:mod:`threading` module (on platforms and Python implementations that
577577
support threads). Additional processes can be created using the
578578
:mod:`os`, :mod:`subprocess`, and :mod:`multiprocessing` modules.
579-
You can run coroutines (async) in the main thread using :mod:`asyncio`.
580579
Interpreters can be created and used with the
581-
:mod:`~concurrent.interpreters` module.
580+
:mod:`~concurrent.interpreters` module. Coroutines (async) can
581+
be run using :mod:`asyncio` in each interpreter, typically only
582+
in a single thread (often the main thread).
582583

583584

584585
.. rubric:: Footnotes

0 commit comments

Comments
 (0)