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 -