X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/bde1d2db31976951fef57852ee4c96dfc77e6d38..cf51c6e39aebacced739e8fe16b71389a47d236e:/src/circuitpython_typing.py diff --git a/src/circuitpython_typing.py b/src/circuitpython_typing.py index 11d0c4e..caad6f2 100644 --- a/src/circuitpython_typing.py +++ b/src/circuitpython_typing.py @@ -31,7 +31,7 @@ See `CircuitPython:circuitpython_typing` in CircuitPython for more details. from typing import Union from array import array -ReadableBuffer = Union[bytes, bytearray, memoryview, array, ndarray] +ReadableBuffer = Union[bytes, bytearray, memoryview, array] """Classes that implement the readable buffer protocol * `bytes` @@ -40,7 +40,7 @@ ReadableBuffer = Union[bytes, bytearray, memoryview, array, ndarray] * `array.array` """ -WriteableBuffer = Union[bytearray, memoryview, array, ndarray] +WriteableBuffer = Union[bytearray, memoryview, array] """Classes that implement the writeable buffer protocol * `bytearray`