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

Skip to content

Commit bc9bc18

Browse files
committed
SF #515024 remove unused variable
1 parent f151625 commit bc9bc18

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Lib/urllib.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,6 @@ def urlencode(query,doseq=0):
11581158
# sequences...
11591159
try:
11601160
# non-sequence items should not work with len()
1161-
x = len(query)
11621161
# non-empty strings will fail this
11631162
if len(query) and type(query[0]) != types.TupleType:
11641163
raise TypeError

0 commit comments

Comments
 (0)