summaryrefslogtreecommitdiff
path: root/examples/micropython.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-16 19:13:30 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-16 19:29:11 +0200
commitc8742a06ca84528a45a2f5bad7d169694757f096 (patch)
treede6949518db165932196ea47645799a8c538724c /examples/micropython.py
parentd0db3d3e451089ef431321833b30bb2127cdcb7b (diff)
Add dummy micropython module to enable mandel.py run with CPython.
Diffstat (limited to 'examples/micropython.py')
-rw-r--r--examples/micropython.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/micropython.py b/examples/micropython.py
new file mode 100644
index 000000000..091c92deb
--- /dev/null
+++ b/examples/micropython.py
@@ -0,0 +1,8 @@
+# micropython module placeholder for CPython
+
+# Dummy function decorators
+
+def nodecor(x):
+ return x
+
+byte_code = native = viper = nodecor