Skip to content

Commit be49758

Browse files
author
Fayvel Victor
committed
Don't try numarray and Numeric to get uint* data types
Neither numarray nor Numeric provide the types uint8, uint16 or uint32. Trying to use them without having numpy installed will cause an AttributeError.
1 parent d665235 commit be49758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/m64py/SDL/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from ctypes import *
1010

1111
# Arrange these in order of preference
12-
_array_names = ('numpy', 'numarray', 'Numeric')
12+
_array_names = ('numpy')
1313

1414
def _import_arrays(array_names, locals):
1515
default_array = None

0 commit comments

Comments
 (0)