summaryrefslogtreecommitdiff
path: root/Lib/urllib/parse.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-08-09 20:08:48 +0000
committerSenthil Kumaran <orsenthil@gmail.com>2010-08-09 20:08:48 +0000
commit7a956cc74e701f3de1b74f4b2a514975731d23d2 (patch)
tree327cdfdc894b90023f6505f81c7b90f8ffdeda93 /Lib/urllib/parse.py
parentea54b03b1e8c457b55db36ee7dc9300327c2a0b8 (diff)
downloadcpython-git-7a956cc74e701f3de1b74f4b2a514975731d23d2.tar.gz
Merged revisions 83901 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83901 | senthil.kumaran | 2010-08-10 01:31:35 +0530 (Tue, 10 Aug 2010) | 3 lines Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations. Changes in Modules. ........
Diffstat (limited to 'Lib/urllib/parse.py')
-rw-r--r--Lib/urllib/parse.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py
index e1afe528d1..886c51c5c4 100644
--- a/Lib/urllib/parse.py
+++ b/Lib/urllib/parse.py
@@ -360,10 +360,10 @@ def parse_qs(qs, keep_blank_values=False, strict_parsing=False):
Arguments:
- qs: URL-encoded query string to be parsed
+ qs: percent-encoded query string to be parsed
keep_blank_values: flag indicating whether blank values in
- URL encoded queries should be treated as blank strings.
+ percent-encoded queries should be treated as blank strings.
A true value indicates that blanks should be retained as
blank strings. The default false value indicates that
blank values are to be ignored and treated as if they were
@@ -386,10 +386,10 @@ def parse_qsl(qs, keep_blank_values=False, strict_parsing=False):
Arguments:
- qs: URL-encoded query string to be parsed
+ qs: percent-encoded query string to be parsed
keep_blank_values: flag indicating whether blank values in
- URL encoded queries should be treated as blank strings. A
+ percent-encoded queries should be treated as blank strings. A
true value indicates that blanks should be retained as blank
strings. The default false value indicates that blank values
are to be ignored and treated as if they were not included.