Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions reference/_mpy_shed/buffer_mp.pyi
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
from _typeshed import Incomplete, structseq, AnyStr_co
from typing_extensions import TypeAlias, TypeVar
from array import array
from typing import Union

Buffer : TypeAlias= Union[bytes, bytearray, memoryview]

# ------------------------------------------------------------------------------------
# TODO: need some to allow string to be passed in : uart_1.write("hello")
Expand Down
Loading