From bc9bc187aa9e2b18a2e3d49aa743e37cdaa1bb18 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 11 Feb 2002 18:06:21 +0000 Subject: [PATCH] SF #515024 remove unused variable --- Lib/urllib.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/urllib.py b/Lib/urllib.py index 2f0f847dbcf..0a936c438c6 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