From 30e86a47676d2175901af29445aec5bd7967ef76 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Mon, 9 Aug 2010 20:01:35 +0000 Subject: Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations. Changes in Modules. --- Lib/urllib/parse.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Lib/urllib/parse.py') diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py index 00f0e5bec4..44f4a4b13e 100644 --- a/Lib/urllib/parse.py +++ b/Lib/urllib/parse.py @@ -378,10 +378,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 @@ -404,10 +404,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. -- cgit v1.2.1