diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-11-24 16:19:00 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-11-24 16:19:00 -0500 |
commit | 6474847292f1cf4fcda55afe2cd5e46497ce339f (patch) | |
tree | 5d79f5ad3caf40413c2639ef24d65352a830e015 /setuptools/compat.py | |
parent | 6448b98096c81ee02505edaf38430912426665b1 (diff) | |
download | external_python_setuptools-6474847292f1cf4fcda55afe2cd5e46497ce339f.tar.gz external_python_setuptools-6474847292f1cf4fcda55afe2cd5e46497ce339f.tar.bz2 external_python_setuptools-6474847292f1cf4fcda55afe2cd5e46497ce339f.zip |
The one use of xrange could also use range, so just use range.
Diffstat (limited to 'setuptools/compat.py')
-rw-r--r-- | setuptools/compat.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/setuptools/compat.py b/setuptools/compat.py index bbc98d66..8b7ea904 100644 --- a/setuptools/compat.py +++ b/setuptools/compat.py @@ -31,7 +31,6 @@ if sys.version_info[0] < 3: import urllib2 from urllib2 import urlopen, HTTPError, URLError, unquote, splituser from urlparse import urlparse, urlunparse, urljoin, urlsplit, urlunsplit - xrange = xrange filterfalse = itertools.ifilterfalse def exec_(code, globs=None, locs=None): @@ -78,7 +77,6 @@ else: urlparse, urlunparse, unquote, splituser, urljoin, urlsplit, urlunsplit, splittag, ) - xrange = range filterfalse = itertools.filterfalse def execfile(fn, globs=None, locs=None): |