1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00
trezor-firmware/core/mocks/sys.py

17 lines
458 B
Python
Raw Normal View History

2017-06-14 17:27:02 +00:00
from typing import *
2017-06-14 10:26:02 +00:00
def exit(retval: Any = ...) -> None:
raise SystemExit()
def print_exception(exc: BaseException) -> None: ...
path = ... # type: List[str]
argv = ... # type: List[str]
version = ... # type: str
version_info = ... # type: Tuple[int, int, int]
implementation = ... # type: Tuple[str, Tuple[int, int, int]]
platform = ... # type: str
byteorder = ... # type: str
maxsize = ... # type: int
modules = ... # type: Dict[str, Any]