diff options
| author | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-06-02 12:23:21 -0700 |
|---|---|---|
| committer | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-06-02 12:23:21 -0700 |
| commit | 8240d962ae0f09119fde7b1575924068f02c6d8c (patch) | |
| tree | 5cfac0d391ac712df2b7400577d9c964c49bb53b /sqlparse/compat.py | |
| parent | e98b1922a10e8a5c2608d4cbe8cb9fa76c50baa5 (diff) | |
| download | sqlparse-8240d962ae0f09119fde7b1575924068f02c6d8c.tar.gz | |
Replace iter(range(len(...))) with enumerate
Diffstat (limited to 'sqlparse/compat.py')
| -rw-r--r-- | sqlparse/compat.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sqlparse/compat.py b/sqlparse/compat.py index 84d0c96..c1aacf6 100644 --- a/sqlparse/compat.py +++ b/sqlparse/compat.py @@ -18,7 +18,6 @@ if PY3: return str(s) - range = range text_type = str string_types = (str,) from io import StringIO @@ -33,7 +32,6 @@ elif PY2: return unicode(s, encoding) - range = xrange text_type = unicode string_types = (basestring,) from StringIO import StringIO |
