1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-26 20:19:02 +00:00
trezor-firmware/core/mocks/uio.pyi
Roman Zeyde c2dd63a6bd chore(core): move core/prof into core/src/prof
It would allow interning profiling-related QSTRs in debug emulator builds.

[no changelog]
2025-04-14 22:40:52 +03:00

17 lines
385 B
Python

class FileIO:
def __enter__(self) -> FileIO: ...
def __exit__(*args) -> None: ...
def write(self, data: bytes | str) -> int: ...
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