Commit c8742a06 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

Add dummy micropython module to enable mandel.py run with CPython.

parent d0db3d3e
try:
import micropython
except:
pass
def mandelbrot():
# returns True if c, complex, is in the Mandelbrot set
@micropython.native
......
# micropython module placeholder for CPython
# Dummy function decorators
def nodecor(x):
return x
byte_code = native = viper = nodecor
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment