From bf4fdea1876a86087566eb593f8c30f0a60caf7f Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 14 May 2011 10:06:54 -0400 Subject: [PATCH] fewer 2/3 mappings --- tablib/compat.py | 9 +-------- 1 file changed, 1 insertion(+), 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 -