diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-06-19 15:11:49 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-06-19 15:11:49 (GMT) |
commit | d143209d7f82588c008de96b973b6306ccc69be0 (patch) | |
tree | 213cde283bdd8ad8424148ffd12d403e20fa4627 /Doc | |
parent | 54c4b8e5c1e0fd11235ab0d5c848e5355293c964 (diff) | |
download | cpython-d143209d7f82588c008de96b973b6306ccc69be0.zip cpython-d143209d7f82588c008de96b973b6306ccc69be0.tar.gz cpython-d143209d7f82588c008de96b973b6306ccc69be0.tar.bz2 |
Tulip issue 83: document more asyncio functions in docstrings
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/asyncio-eventloop.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index 480a8e1..57b2051 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -311,11 +311,10 @@ 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>` method which creates a TCP server bound to - host and port. + Create a TCP server bound to host and port. Return an + :class:`AbstractServer` object which can be used to stop the service. - The return value is a :class:`AbstractServer` object which can be used to stop - the service. + This method is a :ref:`coroutine <coroutine>`. If *host* is an empty string or None all interfaces are assumed and a list of multiple sockets will be returned (most likely |