[Python-checkins] cpython (2.7): complete cgi.parse() signature; thanks to Aaron Bingham from docs@

sandro.tosi python-checkins at python.org
Sun Aug 12 18:48:07 CEST 2012


http://hg.python.org/cpython/rev/387ceee4e0dd
changeset:   78535:387ceee4e0dd
branch:      2.7
parent:      78532:c88822747c92
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Sun Aug 12 18:47:45 2012 +0200
summary:
  complete cgi.parse() signature; thanks to Aaron Bingham from docs@

files:
  Doc/library/cgi.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/cgi.rst b/Doc/library/cgi.rst
--- a/Doc/library/cgi.rst
+++ b/Doc/library/cgi.rst
@@ -284,10 +284,10 @@
 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.
 
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list