]> granicus.if.org Git - python/commitdiff
complete cgi.parse() signature; thanks to Aaron Bingham from docs@
authorSandro Tosi <sandro.tosi@gmail.com>
Sun, 12 Aug 2012 16:47:45 +0000 (18:47 +0200)
committerSandro Tosi <sandro.tosi@gmail.com>
Sun, 12 Aug 2012 16:47:45 +0000 (18:47 +0200)
Doc/library/cgi.rst

index b95f131551a16ba4a4ab41984d68a4adf4130475..0240998a142c3841ff228abaf01e27831eb01137 100644 (file)
@@ -284,10 +284,10 @@ These are useful if you want more control, or if you want to employ some of the
 algorithms implemented in this module in other circumstances.
 
 
-.. function:: parse(fp[, keep_blank_values[, strict_parsing]])
+.. function:: parse(fp[, environ[, keep_blank_values[, strict_parsing]]])
 
    Parse a query in the environment or from a file (the file defaults to
-   ``sys.stdin``).  The *keep_blank_values* and *strict_parsing* parameters are
+   ``sys.stdin`` and environment defaults to ``os.environ``).  The *keep_blank_values* and *strict_parsing* parameters are
    passed to :func:`urlparse.parse_qs` unchanged.