From 614e44a0fa650751f7972bb7e38f00f5f7599871 Mon Sep 17 00:00:00 2001 From: Sandro Tosi Date: Sun, 12 Aug 2012 18:47:45 +0200 Subject: complete cgi.parse() signature; thanks to Aaron Bingham from docs@ --- Doc/library/cgi.rst | 4 ++-- 1 file 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. -- cgit v0.12