]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/circuitpython_typing.py
Merge pull request #548 from makermelissa/main
[Adafruit_Blinka-hackapet.git] / src / circuitpython_typing.py
index 93c3a3d7e240809d82dd0f5b0eb67ced4abd1eb5..3ab01c3f5c4a1434bd715b3b6386d162e5eb1b30 100644 (file)
@@ -21,9 +21,9 @@
 # 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
 """
@@ -32,23 +32,21 @@ 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`
-  - `memoryview`
-  - `array.array`
-  - `numpy.ndarray`
+
+  * `bytes`
+  * `bytearray`
+  * `memoryview`
+  * `array.array`
+  * ``numpy.ndarray``
 """
 
-WriteableBuffer = Union[
-    bytearray, memoryview, array, ndarray
-]
+WriteableBuffer = Union[bytearray, memoryview, array, ndarray]
 """Classes that implement the writeable buffer protocol
-  - `bytearray`
-  - `memoryview`
-  - `array.array`
-  - `numpy.ndarray`
+
+  * `bytearray`
+  * `memoryview`
+  * `array.array`
+  * ``numpy.ndarray``
 """