mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-30 03:18:20 +00:00
12 lines
260 B
Python
12 lines
260 B
Python
|
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
|