From 34a6acc0cce8fca74fedda059f097190b5645481 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl <alexfikl@gmail.com> Date: Tue, 5 Nov 2019 17:17:40 -0600 Subject: [PATCH] remove nonlocal --- pyopencl/check_concurrency.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pyopencl/check_concurrency.py b/pyopencl/check_concurrency.py index 414016e1..3bce3aef 100644 --- a/pyopencl/check_concurrency.py +++ b/pyopencl/check_concurrency.py @@ -59,7 +59,6 @@ def print_menu(ops): m = {"count": 1} def print_option(text): - nonlocal m print(' [%2d] %s' % (m["count"], text)) m["count"] += 1 -- GitLab