Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment