Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3af7b05

Browse files
committed
Fix a broken r.append(name, value) call, spotted by Tim.
1 parent c00a938 commit 3af7b05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/cgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def parse_qsl(qs, keep_blank_values=0, strict_parsing=0):
600600
continue
601601
name = urllib.unquote(string.replace(nv[0], '+', ' '))
602602
value = urllib.unquote(string.replace(nv[1], '+', ' '))
603-
r.append(name, value)
603+
r.append((name, value))
604604

605605
return r
606606

0 commit comments

Comments
 (0)