summaryrefslogtreecommitdiffstatshomepage
path: root/examples/mandel.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mandel.py')
-rw-r--r--examples/mandel.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/mandel.py b/examples/mandel.py
index 996132a915..d2b34fff83 100644
--- a/examples/mandel.py
+++ b/examples/mandel.py
@@ -1,3 +1,9 @@
+try:
+ import micropython
+except:
+ pass
+
+
def mandelbrot():
# returns True if c, complex, is in the Mandelbrot set
@micropython.native