From 1646b53c72b989be01c842dddae5d152973fbcf0 Mon Sep 17 00:00:00 2001 From: coolreader18 <33094578+coolreader18@users.noreply.github.com> Date: Sun, 24 Feb 2019 21:28:25 -0600 Subject: [PATCH] Add a comment explaining the weird dict --- wasm/demo/snippets/mandelbrot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wasm/demo/snippets/mandelbrot.py b/wasm/demo/snippets/mandelbrot.py index a2de7e8ae..f8549188e 100644 --- a/wasm/demo/snippets/mandelbrot.py +++ b/wasm/demo/snippets/mandelbrot.py @@ -3,6 +3,7 @@ from browser import request_animation_frame w = 50.0 h = 50.0 +# to make up for the lack of `global` _y = {'y': 0.0} def mandel(_time_elapsed=None):