MicroPython/sys.py

changeset 2
2c3f30af031d
child 8
f706499906b8
diff -r afcd3f0662b1 -r 2c3f30af031d MicroPython/sys.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MicroPython/sys.py	Sun Aug 25 19:25:37 2019 +0200
@@ -0,0 +1,30 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module containing stubs for API generation of the 'sys' module.
+"""
+
+def exit(retval=0):
+    pass
+
+def atexit(func):
+    pass
+
+def print_exception(exc, file=sys.stdout):
+    pass
+
+argv = []
+byteorder = ""
+implementation = tuple()
+maxsize = 1
+modules = {}
+path = []
+platform = ""
+stderr = 2
+stdin = 0
+stdout = 1
+version = ""
+version_info = tuple()

eric ide

mercurial