summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-05-14 10:06:54 -0400
committerKenneth Reitz <me@kennethreitz.com>2011-05-14 10:06:54 -0400
commitbf4fdea1876a86087566eb593f8c30f0a60caf7f (patch)
tree3e09033e585e0b4ce0c4f7f350c33c6399c5dcc9
parent03086052eddeaf4d1b7521d87c3ac850dcc8e821 (diff)
downloadtablib-bf4fdea1876a86087566eb593f8c30f0a60caf7f.tar.gz
fewer 2/3 mappings
-rw-r--r--tablib/compat.py9
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
-