From 8bf00084b6385d497510d76226d01a47ed1f2924 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 3 Sep 2015 19:34:38 +0300 Subject: [PATCH] py: Make "enumerate" qstr be conditional on MICROPY_PY_BUILTINS_ENUMERATE. --- py/qstrdefs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/py/qstrdefs.h b/py/qstrdefs.h index b95067bbf1..425b6ee107 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -199,7 +199,9 @@ Q(imag) Q(dict) Q(dir) Q(divmod) +#if MICROPY_PY_BUILTINS_ENUMERATE Q(enumerate) +#endif Q(eval) Q(exec) #if MICROPY_PY_BUILTINS_EXECFILE