diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-16 10:56:39 -0800 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-16 10:56:39 -0800 |
commit | eea2eb1bb74c59e80deb14872a0aa10d6a69a304 (patch) | |
tree | 77c4ec4cbede304afffe0f7a86f8e9886e8b900d /examples/micropython.py | |
parent | a671f891ddb42496accb889e19a0eb14b50caba2 (diff) | |
parent | dcac88095b3a67e75204f6b245d62d481ce2d906 (diff) | |
download | micropython-eea2eb1bb74c59e80deb14872a0aa10d6a69a304.tar.gz micropython-eea2eb1bb74c59e80deb14872a0aa10d6a69a304.zip |
Merge pull request #180 from pfalcon/examples-improve
Improve compatibility of examples with CPython (+ interp compatibility too)
Diffstat (limited to 'examples/micropython.py')
-rw-r--r-- | examples/micropython.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/micropython.py b/examples/micropython.py new file mode 100644 index 0000000000..091c92deb3 --- /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 |