X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/333dd893733b4fe83dfba3be0a76ab82f79d4065..48de2acbaa4e1cea93bb10cbf59e0526a4057573:/src/circuitpython_typing.py diff --git a/src/circuitpython_typing.py b/src/circuitpython_typing.py index 93c3a3d..192ce0a 100644 --- a/src/circuitpython_typing.py +++ b/src/circuitpython_typing.py @@ -32,9 +32,7 @@ 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, ndarray] """Classes that implement the readable buffer protocol - `bytes` - `bytearray` @@ -43,9 +41,7 @@ ReadableBuffer = Union[ - `numpy.ndarray` """ -WriteableBuffer = Union[ - bytearray, memoryview, array, ndarray -] +WriteableBuffer = Union[bytearray, memoryview, array, ndarray] """Classes that implement the writeable buffer protocol - `bytearray` - `memoryview`