summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-eventloop.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-16 18:30:21 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-01-16 18:30:21 (GMT)
commit59759ff23420868b1b45de37f6ad6dc7de81778a (patch)
treeaf0ce1195c186c6e56d45002402e378470d5498d /Doc/library/asyncio-eventloop.rst
parentdb39a0da0ca6839177f00be9f38446fa717a4958 (diff)
downloadcpython-59759ff23420868b1b45de37f6ad6dc7de81778a.zip
cpython-59759ff23420868b1b45de37f6ad6dc7de81778a.tar.gz
cpython-59759ff23420868b1b45de37f6ad6dc7de81778a.tar.bz2
asyncio doc: replace "coroutine" with "coroutine object" or "coroutine function"
Diffstat (limited to 'Doc/library/asyncio-eventloop.rst')
-rw-r--r--Doc/library/asyncio-eventloop.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index 910a036..56ede5c 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -158,7 +158,7 @@ Creating connections
*port*. *protocol_factory* must be a callable returning a
:ref:`protocol <protocol>` instance.
- This method returns a :ref:`coroutine <coroutine>` which will try to
+ This method returns a :ref:`coroutine object <coroutine>` which will try to
establish the connection in the background. When successful, the
coroutine returns a ``(transport, protocol)`` pair.
@@ -219,7 +219,7 @@ Creating listening connections
.. method:: BaseEventLoop.create_server(protocol_factory, host=None, port=None, \*, family=socket.AF_UNSPEC, flags=socket.AI_PASSIVE, sock=None, backlog=100, ssl=None, reuse_address=None)
- A :ref:`coroutine <coroutine>` which creates a TCP server bound to host and
+ A :ref:`coroutine function <coroutine>` which creates a TCP server bound to host and
port.
The return value is a :class:`AbstractServer` object which can be used to stop
@@ -249,13 +249,13 @@ Creating listening connections
expire. If not specified will automatically be set to True on
UNIX.
- This method returns a :ref:`coroutine <coroutine>`.
+ This method returns a :ref:`coroutine object <coroutine>`.
.. method:: BaseEventLoop.create_datagram_endpoint(protocol_factory, local_addr=None, remote_addr=None, \*, family=0, proto=0, flags=0)
Create datagram connection.
- This method returns a :ref:`coroutine <coroutine>`.
+ This method returns a :ref:`coroutine object <coroutine>`.
@@ -280,7 +280,7 @@ Run subprocesses asynchronously using the :mod:`subprocess` module.
XXX
- This method returns a :ref:`coroutine <coroutine>`.
+ This method returns a :ref:`coroutine object <coroutine>`.
See the constructor of the :class:`subprocess.Popen` class for parameters.
@@ -288,7 +288,7 @@ Run subprocesses asynchronously using the :mod:`subprocess` module.
XXX
- This method returns a :ref:`coroutine <coroutine>`.
+ This method returns a :ref:`coroutine object <coroutine>`.
See the constructor of the :class:`subprocess.Popen` class for parameters.
@@ -301,7 +301,7 @@ Run subprocesses asynchronously using the :mod:`subprocess` module.
Return pair (transport, protocol), where transport support
:class:`ReadTransport` interface.
- This method returns a :ref:`coroutine <coroutine>`.
+ This method returns a :ref:`coroutine object <coroutine>`.
.. method:: BaseEventLoop.connect_write_pipe(protocol_factory, pipe)
@@ -312,7 +312,7 @@ Run subprocesses asynchronously using the :mod:`subprocess` module.
Return pair (transport, protocol), where transport support
:class:`WriteTransport` interface.
- This method returns a :ref:`coroutine <coroutine>`.
+ This method returns a :ref:`coroutine object <coroutine>`.
Executor