erg/crates/erg_compiler/lib/pystd/sys.d.er
2023-01-24 19:57:43 +09:00

30 lines
554 B
Python

io = pyimport "io"
.argv: [Str; _]
.byteorder: Str
.builtin_module_names: [Str; _]
.copyright: Str
.executable: Str
.path: Array!(Str, _)
'''
* AIX -> 'aix'
* FreeBSD -> 'freebsd'
* Emscripten -> 'emscripten'
* Linux -> 'linux'
* WASI -> 'wasi'
* Windows -> 'win32'
* Windows/Cygwin -> 'cygwin'
* macOS -> 'darwin'
'''
.platform: Str
.prefix: Str
.ps1: Str!
.ps2: Str!
.stderr: io.TextIOWrapper!
.stdin: io.TextIOWrapper!
.stdout: io.TextIOWrapper!
.version: Str
.exit: Int -> Never
.getdefaultencoding!: () => Str
.setrecursionlimit!: Int => NoneType