mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
Issue 3801. Fixing a dumb error in the deprecated parse_qsl()
function. Tests added.
This commit is contained in:
parent
e080cdf30a
commit
ace0bcf669
2 changed files with 12 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue