comparison: MicroPython/sys.py
MicroPython/sys.py
- changeset 8
- f706499906b8
- parent 2
- 2c3f30af031d
equal
deleted
inserted
replaced
4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module containing stubs for API generation of the 'sys' module. |
7 Module containing stubs for API generation of the 'sys' module. |
8 """ |
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 |
9 |
19 argv = [] |
10 argv = [] |
20 byteorder = "" |
11 byteorder = "" |
21 implementation = tuple() |
12 implementation = tuple() |
22 maxsize = 1 |
13 maxsize = 1 |
26 stderr = 2 |
17 stderr = 2 |
27 stdin = 0 |
18 stdin = 0 |
28 stdout = 1 |
19 stdout = 1 |
29 version = "" |
20 version = "" |
30 version_info = tuple() |
21 version_info = tuple() |
|
22 |
|
23 def exit(retval=0): |
|
24 pass |
|
25 |
|
26 def atexit(func): |
|
27 pass |
|
28 |
|
29 def print_exception(exc, file=stdout): |
|
30 pass |