From: Neal Norwitz Date: Mon, 11 Feb 2002 18:06:21 +0000 (+0000) Subject: SF #515024 remove unused variable X-Git-Tag: v2.3c1~6696 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc9bc187aa9e2b18a2e3d49aa743e37cdaa1bb18;p=thirdparty%2FPython%2Fcpython.git SF #515024 remove unused variable --- diff --git a/Lib/urllib.py b/Lib/urllib.py index 2f0f847dbcfe..0a936c438c6b 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