memoryview = memoryview

This commit is contained in:
cclauss 2018-01-25 09:40:10 +01:00 committed by GitHub
parent ffc05da571
commit 04bfd8e159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,9 +10,9 @@ except NameError: # Python 3
string_types = (str, )
try:
memoryview # Python 2.7 and Python 3
memoryview = memoryview # Python 2.7 and Python 3
except NameError:
memoryview = buffer # Python 2.6
memoryview = buffer # Python 2.6
if not PY2K:
filter, map, zip = filter, map, zip