Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/library/wsgiref.rst

    r2 r391  
    6060
    6161
    62 .. function:: request_uri(environ [, include_query=1])
     62.. function:: request_uri(environ, include_query=1)
    6363
    6464   Return the full request URI, optionally including the query string, using the
     
    149149
    150150
    151 .. class:: FileWrapper(filelike [, blksize=8192])
     151.. class:: FileWrapper(filelike, blksize=8192)
    152152
    153153   A wrapper to convert a file-like object to an :term:`iterator`.  The resulting objects
     
    272272
    273273
    274 .. function:: make_server(host, port, app [, server_class=WSGIServer [, handler_class=WSGIRequestHandler]])
     274.. function:: make_server(host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandler)
    275275
    276276   Create a new WSGI server listening on *host* and *port*, accepting connections
     
    461461
    462462
    463 .. class:: BaseCGIHandler(stdin, stdout, stderr, environ [, multithread=True [, multiprocess=False]])
     463.. class:: BaseCGIHandler(stdin, stdout, stderr, environ, multithread=True, multiprocess=False)
    464464
    465465   Similar to :class:`CGIHandler`, but instead of using the :mod:`sys` and
     
    476476
    477477
    478 .. class:: SimpleHandler(stdin, stdout, stderr, environ [,multithread=True [, multiprocess=False]])
     478.. class:: SimpleHandler(stdin, stdout, stderr, environ, multithread=True, multiprocess=False)
    479479
    480480   Similar to :class:`BaseCGIHandler`, but designed for use with HTTP origin
     
    713713   # use a class for example). The first argument passed to the function
    714714   # is a dictionary containing CGI-style envrironment variables and the
    715    # second variable is the callable object (see PEP333)
     715   # second variable is the callable object (see PEP 333).
    716716   def hello_world_app(environ, start_response):
    717717       status = '200 OK' # HTTP Status
Note: See TracChangeset for help on using the changeset viewer.