X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/bc4409783b211ddb6bf0621dd7158a95253dd302..f2494b6101b947d4871a33c907c6aaac0196b273:/src/circuitpython_typing.py diff --git a/src/circuitpython_typing.py b/src/circuitpython_typing.py index 3ab01c3..caad6f2 100644 --- a/src/circuitpython_typing.py +++ b/src/circuitpython_typing.py @@ -30,23 +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`` """ -WriteableBuffer = Union[bytearray, memoryview, array, ndarray] +WriteableBuffer = Union[bytearray, memoryview, array] """Classes that implement the writeable buffer protocol * `bytearray` * `memoryview` * `array.array` - * ``numpy.ndarray`` """