Fixed a case where the order of arguments was wrong for PEP 444
This commit is contained in:
parent
6b4cd01d29
commit
a06e8726a4
|
@ -384,7 +384,7 @@ The application callable must accept one positional argument. For the
|
||||||
sake of illustration, we have named it ``environ``, but it is not
|
sake of illustration, we have named it ``environ``, but it is not
|
||||||
required to have this name. A server or gateway **must** invoke the
|
required to have this name. A server or gateway **must** invoke the
|
||||||
application object using a positional (not keyword) argument.
|
application object using a positional (not keyword) argument.
|
||||||
(E.g. by calling ``status, headers, body = application(environ)`` as
|
(E.g. by calling ``body, status, headers = application(environ)`` as
|
||||||
shown above.)
|
shown above.)
|
||||||
|
|
||||||
The ``environ`` parameter is a dictionary object, containing CGI-style
|
The ``environ`` parameter is a dictionary object, containing CGI-style
|
||||||
|
|
Loading…
Reference in New Issue