diff options
author | Facundo Batista <facundobatista@gmail.com> | 2008-09-08 00:20:28 +0000 |
---|---|---|
committer | Facundo Batista <facundobatista@gmail.com> | 2008-09-08 00:20:28 +0000 |
commit | 4a84879518562d67c3b0bf8c977df059eb491289 (patch) | |
tree | a588252a640d84216df3dc74998707631f75e7aa /Lib/cgi.py | |
parent | 8eabf115c5345f9317d2bb0ff922be4fa6c54443 (diff) | |
download | cpython-4a84879518562d67c3b0bf8c977df059eb491289.tar.gz |
Issue 3801. Fixing a dumb error in the deprecated parse_qsl()
function. Tests added.
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-x | Lib/cgi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py index 373ba51fc1..33b91bfbd2 100755 --- a/Lib/cgi.py +++ b/Lib/cgi.py @@ -189,7 +189,7 @@ def parse_qsl(qs, keep_blank_values=0, strict_parsing=0): """Parse a query given as a string argument.""" warn("cgi.parse_qsl is deprecated, use urlparse.parse_qsl instead", PendingDeprecationWarning) - return urlparse.parse_qs(qs, keep_blank_values, strict_parsing) + return urlparse.parse_qsl(qs, keep_blank_values, strict_parsing) def parse_multipart(fp, pdict): """Parse multipart input. |