Skip to content

Commit b1dfd64

Browse files
committed
stubs: ulab.array -> ulab.ndarray
1 parent 4c0245b commit b1dfd64

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

shared-bindings/_typing/__init__.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,27 @@ import rgbmatrix
1313
import ulab
1414

1515
ReadableBuffer = Union[
16-
bytes, bytearray, memoryview, array.array, ulab.array, rgbmatrix.RGBMatrix
16+
bytes, bytearray, memoryview, array.array, ulab.ndarray, rgbmatrix.RGBMatrix
1717
]
1818
"""Classes that implement the readable buffer protocol
1919
2020
- `bytes`
2121
- `bytearray`
2222
- `memoryview`
2323
- `array.array`
24-
- `ulab.array`
24+
- `ulab.ndarray`
2525
- `rgbmatrix.RGBMatrix`
2626
"""
2727

2828
WriteableBuffer = Union[
29-
bytearray, memoryview, array.array, ulab.array, rgbmatrix.RGBMatrix
29+
bytearray, memoryview, array.array, ulab.ndarray, rgbmatrix.RGBMatrix
3030
]
3131
"""Classes that implement the writeable buffer protocol
3232
3333
- `bytearray`
3434
- `memoryview`
3535
- `array.array`
36-
- `ulab.array`
36+
- `ulab.ndarray`
3737
- `rgbmatrix.RGBMatrix`
3838
"""
3939

shared-bindings/rgbmatrix/RGBMatrix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ STATIC void preflight_pins_or_throw(uint8_t clock_pin, uint8_t *rgb_pins, uint8_
164164
//| "RGB565" means that it is organized as a series of 16-bit numbers
165165
//| where the highest 5 bits are interpreted as red, the next 6 as
166166
//| green, and the final 5 as blue. The object can be any buffer, but
167-
//| `array.array` and `ulab.array` objects are most often useful.
167+
//| `array.array` and `ulab.ndarray` objects are most often useful.
168168
//| To update the content, modify the framebuffer and call refresh.
169169
//|
170170
//| If a framebuffer is not passed in, one is allocated and initialized

0 commit comments

Comments
 (0)