summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-02-11 18:06:21 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-02-11 18:06:21 (GMT)
commitbc9bc187aa9e2b18a2e3d49aa743e37cdaa1bb18 (patch)
tree3a4a4d95b5dbf60e6b61f7b52c8413ebe180b1c1
parentf151625b59bcd07e35910281444aa4a5974613c7 (diff)
downloadcpython-bc9bc187aa9e2b18a2e3d49aa743e37cdaa1bb18.zip
cpython-bc9bc187aa9e2b18a2e3d49aa743e37cdaa1bb18.tar.gz
cpython-bc9bc187aa9e2b18a2e3d49aa743e37cdaa1bb18.tar.bz2
SF #515024 remove unused variable
-rw-r--r--Lib/urllib.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py
index 2f0f847..0a936c4 100644
--- a/Lib/urllib.py
+++ b/Lib/urllib.py
@@ -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