From: Sandro Tosi Date: Sun, 12 Aug 2012 16:47:45 +0000 (+0200) Subject: complete cgi.parse() signature; thanks to Aaron Bingham from docs@ X-Git-Tag: v2.7.4rc1~647 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=614e44a0fa650751f7972bb7e38f00f5f7599871;p=thirdparty%2FPython%2Fcpython.git complete cgi.parse() signature; thanks to Aaron Bingham from docs@ --- diff --git a/Doc/library/cgi.rst b/Doc/library/cgi.rst index b95f131551a1..0240998a142c 100644 --- a/Doc/library/cgi.rst +++ b/Doc/library/cgi.rst @@ -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.