mirror of
https://github.com/python/cpython.git
synced 2025-10-14 10:53:40 +00:00
Fix a broken r.append(name, value) call, spotted by Tim.
This commit is contained in:
parent
c00a938be8
commit
3af7b050a3
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ def parse_qsl(qs, keep_blank_values=0, strict_parsing=0):
|
||||||
continue
|
continue
|
||||||
name = urllib.unquote(string.replace(nv[0], '+', ' '))
|
name = urllib.unquote(string.replace(nv[0], '+', ' '))
|
||||||
value = urllib.unquote(string.replace(nv[1], '+', ' '))
|
value = urllib.unquote(string.replace(nv[1], '+', ' '))
|
||||||
r.append(name, value)
|
r.append((name, value))
|
||||||
|
|
||||||
return r
|
return r
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue