Add dummy micropython module to enable mandel.py run with CPython.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
try:
|
||||
import micropython
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
def mandelbrot():
|
||||
# returns True if c, complex, is in the Mandelbrot set
|
||||
@micropython.native
|
||||
|
||||
Reference in New Issue
Block a user