File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ domains rigidly separate.
4141
4242The core of the "normal" asyncio main loop is the repeated execution of
4343synchronous code that's submitted to
44- :meth: `asyncio.AbstractEventLoop .call_soon ` or
45- :meth: `asyncio.AbstractEventLoop .call_later `, or as the callbacks for
46- :meth: `asyncio.AbstractEventLoop .add_reader ` /
47- :meth: `asyncio.AbstractEventLoop .add_writer `.
44+ :meth: `python: asyncio.loop .call_soon ` or
45+ :meth: `python: asyncio.loop .call_later `, or as the callbacks for
46+ :meth: `python: asyncio.loop .add_reader ` /
47+ :meth: `python: asyncio.loop .add_writer `.
4848
4949Everything else within the ``asyncio `` core, esp. Futures, Coroutines, and
5050``await ``'ing them, is just syntactic sugar. There is no concept of a
Original file line number Diff line number Diff line change @@ -522,13 +522,13 @@ Cancellations are also propagated whenever possible. This means
522522 Deferred Calls
523523----------------
524524
525- :meth: `asyncio.AbstractEventLoop .call_soon ` and friends work as usual.
525+ :meth: `python: asyncio.loop .call_soon ` and friends work as usual.
526526
527527----------------
528528 Worker Threads
529529----------------
530530
531- :meth: `asyncio.AbstractEventLoop .run_in_executor ` works as usual.
531+ :meth: `python: asyncio.loop .run_in_executor ` works as usual.
532532
533533There is one caveat: the executor must be either ``None `` or an instance of
534534:class: `trio_asyncio.TrioExecutor `. The constructor of this class accepts one
@@ -540,8 +540,8 @@ argument: the number of workers.
540540 File descriptors
541541------------------
542542
543- :meth: `asyncio.AbstractEventLoop .add_reader ` and
544- :meth: `asyncio.AbstractEventLoop .add_writer ` work as usual, if you really
543+ :meth: `python: asyncio.loop .add_reader ` and
544+ :meth: `python: asyncio.loop .add_writer ` work as usual, if you really
545545need them. Behind the scenes, these calls create a Trio task which runs the
546546callback.
547547
@@ -551,7 +551,7 @@ You might consider converting code using these calls to native Trio tasks.
551551 Signals
552552---------
553553
554- :meth: `asyncio.AbstractEventLoop .add_signal_handler ` works as usual.
554+ :meth: `python: asyncio.loop .add_signal_handler ` works as usual.
555555
556556------------
557557Subprocesses
You can’t perform that action at this time.
0 commit comments