memoryview = memoryview
This commit is contained in:
parent
ffc05da571
commit
04bfd8e159
@ -10,9 +10,9 @@ except NameError: # Python 3
|
|||||||
string_types = (str, )
|
string_types = (str, )
|
||||||
|
|
||||||
try:
|
try:
|
||||||
memoryview # Python 2.7 and Python 3
|
memoryview = memoryview # Python 2.7 and Python 3
|
||||||
except NameError:
|
except NameError:
|
||||||
memoryview = buffer # Python 2.6
|
memoryview = buffer # Python 2.6
|
||||||
|
|
||||||
if not PY2K:
|
if not PY2K:
|
||||||
filter, map, zip = filter, map, zip
|
filter, map, zip = filter, map, zip
|
||||||
|
Loading…
Reference in New Issue
Block a user