Commit cbeef54a authored by Jason Madden's avatar Jason Madden

remove code for 2.6 support

parent da22c524
......@@ -53,10 +53,7 @@ else:
if not self.closed:
self.close()
if sys.version_info[:2] < (2, 7):
_get_memory = buffer
else:
def _get_memory(data):
def _get_memory(data):
try:
mv = memoryview(data)
if mv.shape:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment