From: foamyguy Date: Fri, 11 Feb 2022 19:13:03 +0000 (-0600) Subject: Merge pull request #552 from tekktrik/hotfix/remove-numpy X-Git-Tag: 6.20.3 X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka.git/commitdiff_plain/47895223c6ef9c58c64b2c6938481720eb3eb286?hp=66fb79ea0a686ebe057f6a6cb085de44870648ba Merge pull request #552 from tekktrik/hotfix/remove-numpy Remove numpy import --- 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`` """