SF #515024 remove unused variable

This commit is contained in:
Neal Norwitz 2002-02-11 18:06:21 +00:00
parent f151625b59
commit bc9bc187aa
1 changed files with 0 additions and 1 deletions

View File

@ -1158,7 +1158,6 @@ def urlencode(query,doseq=0):
# sequences...
try:
# non-sequence items should not work with len()
x = len(query)
# non-empty strings will fail this
if len(query) and type(query[0]) != types.TupleType:
raise TypeError