CircuitPython/sys.py

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

eric ide

mercurial