]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/circuitpython_typing.py
Extend name of ndarray
[Adafruit_Blinka-hackapet.git] / src / circuitpython_typing.py
index 93c3a3d7e240809d82dd0f5b0eb67ced4abd1eb5..7ed88f06c9f81bd3986a27d5a2b90403f0826991 100644 (file)
@@ -21,9 +21,9 @@
 # THE SOFTWARE.
 """
 `circuitpython_typing` - Define subset of types for C-level protocols
 # THE SOFTWARE.
 """
 `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
 """
 
 * Author(s): Alec Delaney
 """
@@ -32,9 +32,7 @@ from typing import Union
 from array import array
 from numpy import ndarray
 
 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`
 """Classes that implement the readable buffer protocol
   - `bytes`
   - `bytearray`
@@ -43,9 +41,7 @@ ReadableBuffer = Union[
   - `numpy.ndarray`
 """
 
   - `numpy.ndarray`
 """
 
-WriteableBuffer = Union[
-    bytearray, memoryview, array, ndarray
-]
+WriteableBuffer = Union[bytearray, memoryview, array, ndarray]
 """Classes that implement the writeable buffer protocol
   - `bytearray`
   - `memoryview`
 """Classes that implement the writeable buffer protocol
   - `bytearray`
   - `memoryview`