mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 23:10:17 +00:00
fewer 2/3 mappings
This commit is contained in:
+1
-8
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user