]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/circuitpython_typing.py
Remove numpy import
[Adafruit_Blinka-hackapet.git] / src / circuitpython_typing.py
index 8b803dff773b1317e1f1a5bb654eb7ba72529e46..11d0c4e3e1d843eedfe2b81b219f1c66644541cf 100644 (file)
 `circuitpython_typing` - Define subset of types for C-level protocols
 =====================================================================
 
-See `CircuitPython:board` in CircuitPython for more details.
+See `CircuitPython:circuitpython_typing` in CircuitPython for more details.
 
 * Author(s): Alec Delaney
 """
 
 from typing import Union
 from array import array
-from numpy import ndarray
 
 ReadableBuffer = Union[bytes, bytearray, memoryview, array, ndarray]
 """Classes that implement the readable buffer protocol
-  - `bytes`
-  - `bytearray`
-  - `memoryview`
-  - `array.array`
-  - `numpy.ndarray`
+
+  * `bytes`
+  * `bytearray`
+  * `memoryview`
+  * `array.array`
 """
 
 WriteableBuffer = Union[bytearray, memoryview, array, ndarray]
 """Classes that implement the writeable buffer protocol
-  - `bytearray`
-  - `memoryview`
-  - `array.array`
-  - `numpy.ndarray`
+
+  * `bytearray`
+  * `memoryview`
+  * `array.array`
 """