Files
weather-info/.venv/lib/python3.12/site-packages/_mpy_shed/buffer_mp.pyi
2025-10-19 18:29:10 +02:00

9 lines
450 B
Python

from _typeshed import Incomplete, structseq, AnyStr_co
from typing_extensions import TypeAlias, TypeVar
from array import array
# ------------------------------------------------------------------------------------
# TODO: need some to allow string to be passed in : uart_1.write("hello")
AnyReadableBuf: TypeAlias = bytearray | array | memoryview | bytes | Incomplete
AnyWritableBuf: TypeAlias = bytearray | array | memoryview | Incomplete