1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-29 19:08:12 +00:00
trezor-firmware/core/mocks/uio.py

12 lines
260 B
Python
Raw Normal View History

2017-06-14 10:26:02 +00:00
class FileIO: ...
class StringIO:
def __init__(self, _: Union[int, str]) -> None: ...
class BytesIO:
def __init__(self, _: Union[int, bytes]) -> None: ...
def getvalue(self) -> bytes: ...
def open(name: str, mode: str = ...) -> FileIO:
pass