micropython/docs/code-completion/sys.py

35 lines
995 B
Python

"""
sys 模块提供系统特有的功能。
"""
def exit(retval=0) -> None:
"""终止当前程序给定的退出代码。 函数会抛出 SystemExit 异常。"""
...
def print_exception(exc, file=sys.stdout) -> None:
"""打印异常与追踪到一个类似文件的对象 file (或者缺省 sys.stdout )."""
...
def exit(retval=0) -> None:
"""终止当前程序给定的退出代码。 函数会抛出 SystemExit 异常。"""
...
def exit(retval=0) -> None:
"""终止当前程序给定的退出代码。 函数会抛出 SystemExit 异常。"""
...
def exit(retval=0) -> None:
"""终止当前程序给定的退出代码。 函数会抛出 SystemExit 异常。"""
...
argv = ... # type: str
byteorder = ... # type: str
implementation = ... # type: tuple
modules = ... # type: list
path = ... # type: str
platform = ... # type: str
stderr = ... # type: stream
stdin = ... # type: stream
version = ... # type: str
version_info = ... # type: str