Skip to content

Commit f56c4be

Browse files
committed
Fix cross-references
1 parent 6620235 commit f56c4be

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

docs/source/rationale.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ domains rigidly separate.
4141

4242
The core of the "normal" asyncio main loop is the repeated execution of
4343
synchronous 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

4949
Everything else within the ``asyncio`` core, esp. Futures, Coroutines, and
5050
``await``'ing them, is just syntactic sugar. There is no concept of a

docs/source/usage.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

533533
There 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
545545
need them. Behind the scenes, these calls create a Trio task which runs the
546546
callback.
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
------------
557557
Subprocesses

0 commit comments

Comments
 (0)