mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Tulip issue 83: document more asyncio functions in docstrings
This commit is contained in:
parent
54c4b8e5c1
commit
d143209d7f
3 changed files with 58 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue