Skip to content

Commit 5caa155

Browse files
committed
reword
1 parent 48944e8 commit 5caa155

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Doc/howto/a-conceptual-overview-of-asyncio.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,11 @@ Creating a task automatically schedules it for execution (by adding a
177177
callback to run it in the event loop's to-do list, that is, collection of jobs).
178178

179179
:mod:`!asyncio` automatically associates tasks with the event loop for you.
180-
Typically there's only one event loop, so that's quite straightforward.
181-
It's uncommon, but some applications use multithreading and :mod:`!asyncio`
182-
together, where there's one event loop per thread, stored in thread-local
183-
storage.
180+
This automatic association was purposely designed into :mod:`!asyncio` for
181+
the sake of simplicity.
182+
Without it, you'd have to keep track of the event loop object and pass it to
183+
any coroutine function that wants to create tasks, adding redundant clutter
184+
to your code.
184185

185186
::
186187

0 commit comments

Comments
 (0)