X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/7fafb8770abd9697e9ad39938aee0a32f9bb0bf6..465220dbaed3a788f1a2bb20921629ee8ec0149a:/src/circuitpython_typing.py?ds=sidebyside diff --git a/src/circuitpython_typing.py b/src/circuitpython_typing.py index 3df3587..caad6f2 100644 --- a/src/circuitpython_typing.py +++ b/src/circuitpython_typing.py @@ -30,21 +30,20 @@ See `CircuitPython:circuitpython_typing` in CircuitPython for more details. from typing import Union from array import array -from numpy import ndarray -ReadableBuffer = Union[bytes, bytearray, memoryview, array, ndarray] +ReadableBuffer = Union[bytes, bytearray, memoryview, array] """Classes that implement the readable buffer protocol - - `bytes` - - `bytearray` - - `memoryview` - - `array.array` - - ``numpy.ndarray`` + + * `bytes` + * `bytearray` + * `memoryview` + * `array.array` """ -WriteableBuffer = Union[bytearray, memoryview, array, ndarray] +WriteableBuffer = Union[bytearray, memoryview, array] """Classes that implement the writeable buffer protocol - - `bytearray` - - `memoryview` - - `array.array` - - ``numpy.ndarray`` + + * `bytearray` + * `memoryview` + * `array.array` """