diff --git a/extmod/ulab b/extmod/ulab index 9b8cd47640..7032a92339 160000 --- a/extmod/ulab +++ b/extmod/ulab @@ -1 +1 @@ -Subproject commit 9b8cd47640304929aa4255560d754b3058ddaa95 +Subproject commit 7032a9233910c295118d5d80e088ecdd4113f5f8 diff --git a/shared-bindings/_typing/__init__.pyi b/shared-bindings/_typing/__init__.pyi index d1bf853f71..c854c2a228 100644 --- a/shared-bindings/_typing/__init__.pyi +++ b/shared-bindings/_typing/__init__.pyi @@ -10,10 +10,10 @@ import audiocore import audiomixer import audiomp3 import rgbmatrix -import ulab +import ulab.numpy ReadableBuffer = Union[ - bytes, bytearray, memoryview, array.array, ulab.ndarray, rgbmatrix.RGBMatrix + bytes, bytearray, memoryview, array.array, ulab.numpy.ndarray, rgbmatrix.RGBMatrix ] """Classes that implement the readable buffer protocol @@ -21,19 +21,19 @@ ReadableBuffer = Union[ - `bytearray` - `memoryview` - `array.array` - - `ulab.ndarray` + - `ulab.numpy.ndarray` - `rgbmatrix.RGBMatrix` """ WriteableBuffer = Union[ - bytearray, memoryview, array.array, ulab.ndarray, rgbmatrix.RGBMatrix + bytearray, memoryview, array.array, ulab.numpy.ndarray, rgbmatrix.RGBMatrix ] """Classes that implement the writeable buffer protocol - `bytearray` - `memoryview` - `array.array` - - `ulab.ndarray` + - `ulab.numpy.ndarray` - `rgbmatrix.RGBMatrix` """