Make start_serving() a coroutine.

This commit is contained in:
Guido van Rossum 2013-09-09 11:11:52 -07:00
parent 8747d13f25
commit 0be7861dee
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ use a different transport and protocol interface.
port are looked up using ``getaddrinfo()``.
- ``start_serving(protocol_factory, host, port, **kwds)``. Enters a
serving loop that accepts connections. This is a Task that
serving loop that accepts connections. This is a coroutine that
completes once the serving loop is set up to serve. The return
value is a list of one or more sockets in listening mode. (Multiple
sockets may be returned if the specified address allows both IPv4