_typing: ulab.ndarray is moving

This commit is contained in:
Jeff Epler 2021-07-20 17:23:56 -05:00
parent 755caddc89
commit 7dfb999391
2 changed files with 6 additions and 6 deletions

@ -1 +1 @@
Subproject commit 9b8cd47640304929aa4255560d754b3058ddaa95 Subproject commit 7032a9233910c295118d5d80e088ecdd4113f5f8

View File

@ -10,10 +10,10 @@ import audiocore
import audiomixer import audiomixer
import audiomp3 import audiomp3
import rgbmatrix import rgbmatrix
import ulab import ulab.numpy
ReadableBuffer = Union[ 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 """Classes that implement the readable buffer protocol
@ -21,19 +21,19 @@ ReadableBuffer = Union[
- `bytearray` - `bytearray`
- `memoryview` - `memoryview`
- `array.array` - `array.array`
- `ulab.ndarray` - `ulab.numpy.ndarray`
- `rgbmatrix.RGBMatrix` - `rgbmatrix.RGBMatrix`
""" """
WriteableBuffer = Union[ 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 """Classes that implement the writeable buffer protocol
- `bytearray` - `bytearray`
- `memoryview` - `memoryview`
- `array.array` - `array.array`
- `ulab.ndarray` - `ulab.numpy.ndarray`
- `rgbmatrix.RGBMatrix` - `rgbmatrix.RGBMatrix`
""" """