from typing import Union
from array import array
-ReadableBuffer = Union[bytes, bytearray, memoryview, array, ndarray]
+ReadableBuffer = Union[bytes, bytearray, memoryview, array]
"""Classes that implement the readable buffer protocol
* `bytes`
* `array.array`
"""
-WriteableBuffer = Union[bytearray, memoryview, array, ndarray]
+WriteableBuffer = Union[bytearray, memoryview, array]
"""Classes that implement the writeable buffer protocol
* `bytearray`