X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/809af94ed7982109ea563284daf806a1d167676c..465220dbaed3a788f1a2bb20921629ee8ec0149a:/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`` """