trezor-core/mocks/uio.py

12 lines
260 B
Python
Raw Normal View History

2017-06-14 03:26:02 -07: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