diff options
| author | Jeff Epler <jepler@gmail.com> | 2021-04-01 15:43:40 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2021-04-02 13:09:23 -0500 |
| commit | b1dfd64fdc39214e1b86bc504d6ff5cef9d0ec44 (patch) | |
| tree | 8d5af42364e2212ddcedcbb75a10bfcd95ae78d8 | |
| parent | 4c0245bac6dd81c612a03a3d0cc7f12e99c85d75 (diff) | |
stubs: ulab.array -> ulab.ndarray
| m--------- | extmod/ulab | 0 | ||||
| -rw-r--r-- | shared-bindings/_typing/__init__.pyi | 8 | ||||
| -rw-r--r-- | shared-bindings/rgbmatrix/RGBMatrix.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/extmod/ulab b/extmod/ulab -Subproject eb33480797dab382352f3c37668d5dbf1a54505 +Subproject 2aae6464856e5213e45c72681dbb20c708fb3c6 diff --git a/shared-bindings/_typing/__init__.pyi b/shared-bindings/_typing/__init__.pyi index cc4a0a439..9a6e963ea 100644 --- a/shared-bindings/_typing/__init__.pyi +++ b/shared-bindings/_typing/__init__.pyi @@ -13,7 +13,7 @@ import rgbmatrix import ulab ReadableBuffer = Union[ - bytes, bytearray, memoryview, array.array, ulab.array, rgbmatrix.RGBMatrix + bytes, bytearray, memoryview, array.array, ulab.ndarray, rgbmatrix.RGBMatrix ] """Classes that implement the readable buffer protocol @@ -21,19 +21,19 @@ ReadableBuffer = Union[ - `bytearray` - `memoryview` - `array.array` - - `ulab.array` + - `ulab.ndarray` - `rgbmatrix.RGBMatrix` """ WriteableBuffer = Union[ - bytearray, memoryview, array.array, ulab.array, rgbmatrix.RGBMatrix + bytearray, memoryview, array.array, ulab.ndarray, rgbmatrix.RGBMatrix ] """Classes that implement the writeable buffer protocol - `bytearray` - `memoryview` - `array.array` - - `ulab.array` + - `ulab.ndarray` - `rgbmatrix.RGBMatrix` """ diff --git a/shared-bindings/rgbmatrix/RGBMatrix.c b/shared-bindings/rgbmatrix/RGBMatrix.c index 0188fa0b6..0b31eae88 100644 --- a/shared-bindings/rgbmatrix/RGBMatrix.c +++ b/shared-bindings/rgbmatrix/RGBMatrix.c @@ -164,7 +164,7 @@ STATIC void preflight_pins_or_throw(uint8_t clock_pin, uint8_t *rgb_pins, uint8_ //| "RGB565" means that it is organized as a series of 16-bit numbers //| where the highest 5 bits are interpreted as red, the next 6 as //| green, and the final 5 as blue. The object can be any buffer, but -//| `array.array` and `ulab.array` objects are most often useful. +//| `array.array` and `ulab.ndarray` objects are most often useful. //| To update the content, modify the framebuffer and call refresh. //| //| If a framebuffer is not passed in, one is allocated and initialized |
