diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2011-05-14 10:06:54 -0400 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2011-05-14 10:06:54 -0400 |
| commit | bf4fdea1876a86087566eb593f8c30f0a60caf7f (patch) | |
| tree | 3e09033e585e0b4ce0c4f7f350c33c6399c5dcc9 | |
| parent | 03086052eddeaf4d1b7521d87c3ac850dcc8e821 (diff) | |
| download | tablib-bf4fdea1876a86087566eb593f8c30f0a60caf7f.tar.gz | |
fewer 2/3 mappings
| -rw-r--r-- | tablib/compat.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tablib/compat.py b/tablib/compat.py index 48e0081..de03cd7 100644 --- a/tablib/compat.py +++ b/tablib/compat.py @@ -27,8 +27,7 @@ if is_py3: from tablib.packages import openpyxl3 as openpyxl # py3 mappings - ifilter = filter - xrange = range + unicode = str bytes = bytes basestring = str @@ -40,10 +39,4 @@ else: from itertools import ifilter from tablib.packages import openpyxl - # py2 mappings - xrange = xrange - unicode = unicode - bytes = str - basestring = basestring - |
