[Python-checkins] peps: Make start_serving() a coroutine.
guido.van.rossum
python-checkins at python.org
Mon Sep 9 20:12:09 CEST 2013
http://hg.python.org/peps/rev/64569b37c943
changeset: 5106:64569b37c943
user: Guido van Rossum <guido at python.org>
date: Mon Sep 09 11:11:52 2013 -0700
summary:
Make start_serving() a coroutine.
files:
pep-3156.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pep-3156.txt b/pep-3156.txt
--- a/pep-3156.txt
+++ b/pep-3156.txt
@@ -523,7 +523,7 @@
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
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list