mirror of
https://github.com/python/cpython.git
synced 2025-09-15 13:16:12 +00:00
SF #515024 remove unused variable
This commit is contained in:
parent
f151625b59
commit
bc9bc187aa
1 changed files with 0 additions and 1 deletions
|
@ -1158,7 +1158,6 @@ def urlencode(query,doseq=0):
|
||||||
# sequences...
|
# sequences...
|
||||||
try:
|
try:
|
||||||
# non-sequence items should not work with len()
|
# non-sequence items should not work with len()
|
||||||
x = len(query)
|
|
||||||
# non-empty strings will fail this
|
# non-empty strings will fail this
|
||||||
if len(query) and type(query[0]) != types.TupleType:
|
if len(query) and type(query[0]) != types.TupleType:
|
||||||
raise TypeError
|
raise TypeError
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue