MicroPython/sys.py

changeset 2
2c3f30af031d
child 8
f706499906b8
equal deleted inserted replaced
1:afcd3f0662b1 2:2c3f30af031d
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module containing stubs for API generation of the 'sys' module.
8 """
9
10 def exit(retval=0):
11 pass
12
13 def atexit(func):
14 pass
15
16 def print_exception(exc, file=sys.stdout):
17 pass
18
19 argv = []
20 byteorder = ""
21 implementation = tuple()
22 maxsize = 1
23 modules = {}
24 path = []
25 platform = ""
26 stderr = 2
27 stdin = 0
28 stdout = 1
29 version = ""
30 version_info = tuple()

eric ide

mercurial