MicroPython/micropython.py

changeset 2
2c3f30af031d
diff -r afcd3f0662b1 -r 2c3f30af031d MicroPython/micropython.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MicroPython/micropython.py	Sun Aug 25 19:25:37 2019 +0200
@@ -0,0 +1,38 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module containing stubs for API generation of the def 'micropython' module.
+"""
+
+def const(expr):
+    pass
+
+def opt_level(level=None):
+    pass
+
+def alloc_emergency_exception_buf(size):
+    pass
+
+def mem_info(verbose=False):
+    pass
+
+def qstr_info(verbose=False):
+    pass
+
+def stack_use():
+    pass
+
+def heap_lock():
+    pass
+
+def heap_unlock():
+    pass
+
+def kbd_intr(chr):
+    pass
+
+def schedule(func, arg):
+    pass

eric ide

mercurial