X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/ecc8a2c95f3247b6d263f5184e079a1c32d315ed..bde1d2db31976951fef57852ee4c96dfc77e6d38:/src/circuitpython_typing.py diff --git a/src/circuitpython_typing.py b/src/circuitpython_typing.py index 7170173..11d0c4e 100644 --- a/src/circuitpython_typing.py +++ b/src/circuitpython_typing.py @@ -23,28 +23,27 @@ `circuitpython_typing` - Define subset of types for C-level protocols ===================================================================== -See `CircuitPython:circuit_python` 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` """