diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-08-12 16:47:45 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-08-12 16:47:45 (GMT) |
commit | 614e44a0fa650751f7972bb7e38f00f5f7599871 (patch) | |
tree | 44d3ef1673fafe65a994d12050ae6aceb49a50ca /Doc | |
parent | eca4006b1fbd3168302aa4d0b33462ef8d5d8600 (diff) | |
download | cpython-614e44a0fa650751f7972bb7e38f00f5f7599871.zip cpython-614e44a0fa650751f7972bb7e38f00f5f7599871.tar.gz cpython-614e44a0fa650751f7972bb7e38f00f5f7599871.tar.bz2 |
complete cgi.parse() signature; thanks to Aaron Bingham from docs@
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/cgi.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/cgi.rst b/Doc/library/cgi.rst index b95f131..0240998 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. |