[Python-checkins] r84850 - peps/trunk/pep-0444.txt

armin.ronacher python-checkins at python.org
Thu Sep 16 18:13:52 CEST 2010


Author: armin.ronacher
Date: Thu Sep 16 18:13:52 2010
New Revision: 84850

Log:
The return value is a tuple, not an iterable

Modified:
   peps/trunk/pep-0444.txt

Modified: peps/trunk/pep-0444.txt
==============================================================================
--- peps/trunk/pep-0444.txt	(original)
+++ peps/trunk/pep-0444.txt	Thu Sep 16 18:13:52 2010
@@ -736,11 +736,10 @@
 Values Returned by A Web3 Application
 -------------------------------------
 
-Web3 applications return an iterable in the form (``status``,
-``headers``, ``body``).  The return value can be any iterable type
-that returns exactly three values.  If the server supports
-asynchronous applications (``web3.async``), the response may be a
-callable object (which accepts no arguments).
+Web3 applications return a tuple in the form (``status``, ``headers``,
+``body``).  If the server supports asynchronous applications
+(``web3.async``), the response may be a callable object (which accepts no
+arguments).
 
 The ``status`` value is assumed by a gateway or server to be an HTTP
 "status" bytes instance like ``b'200 OK'`` or ``b'404 Not Found'``.


More information about the Python-checkins mailing list