]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
SF #515024 remove unused variable
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 11 Feb 2002 18:06:21 +0000 (18:06 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 11 Feb 2002 18:06:21 +0000 (18:06 +0000)
Lib/urllib.py

index 2f0f847dbcfe885976b01fa73c6d235deb129dbb..0a936c438c6bea83fdb2db8c731b3e7761413946 100644 (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