diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-02 14:03:02 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-02 14:03:02 (GMT) |
commit | 9592edb834cdbf3d222f65b8c37e431c87be1792 (patch) | |
tree | b98437c1a2e097c1fdf15a56c59b116bca0edcb4 /Doc/library/asyncio-eventloop.rst | |
parent | 2315779c5ec23145ed2420f94b05de700cf65c1f (diff) | |
download | cpython-9592edb834cdbf3d222f65b8c37e431c87be1792.zip cpython-9592edb834cdbf3d222f65b8c37e431c87be1792.tar.gz cpython-9592edb834cdbf3d222f65b8c37e431c87be1792.tar.bz2 |
asyncio doc: add "asyncio-" prefix to references
Diffstat (limited to 'Doc/library/asyncio-eventloop.rst')
-rw-r--r-- | Doc/library/asyncio-eventloop.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index cb6f78b..9a437f8 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -1,6 +1,6 @@ .. currentmodule:: asyncio -.. _event-loop: +.. _asyncio-event-loop: Event loops =========== @@ -10,10 +10,10 @@ It provides multiple facilities, amongst which: * Registering, executing and cancelling delayed calls (timeouts) -* Creating client and server :ref:`transports <transport>` for various +* Creating client and server :ref:`transports <asyncio-transport>` for various kinds of communication -* Launching subprocesses and the associated :ref:`transports <transport>` +* Launching subprocesses and the associated :ref:`transports <asyncio-transport>` for communication with an external program * Delegating costly function calls to a pool of threads @@ -172,7 +172,7 @@ Creating connections Create a streaming transport connection to a given Internet *host* and *port*. *protocol_factory* must be a callable returning a - :ref:`protocol <protocol>` instance. + :ref:`protocol <asyncio-protocol>` instance. This method returns a :ref:`coroutine object <coroutine>` which will try to establish the connection in the background. When successful, the @@ -180,11 +180,11 @@ Creating connections The chronological synopsis of the underlying operation is as follows: - #. The connection is established, and a :ref:`transport <transport>` + #. The connection is established, and a :ref:`transport <asyncio-transport>` is created to represent it. #. *protocol_factory* is called without arguments and must return a - :ref:`protocol <protocol>` instance. + :ref:`protocol <asyncio-protocol>` instance. #. The protocol instance is tied to the transport, and its :meth:`connection_made` method is called. |