mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
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