memoryview = memoryview
This commit is contained in:
parent
ffc05da571
commit
04bfd8e159
@ -10,7 +10,7 @@ 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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user