Skip to content

Commit 8bf0008

Browse files
committed
py: Make "enumerate" qstr be conditional on MICROPY_PY_BUILTINS_ENUMERATE.
1 parent 81794fc commit 8bf0008

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

py/qstrdefs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ Q(imag)
199199
Q(dict)
200200
Q(dir)
201201
Q(divmod)
202+
#if MICROPY_PY_BUILTINS_ENUMERATE
202203
Q(enumerate)
204+
#endif
203205
Q(eval)
204206
Q(exec)
205207
#if MICROPY_PY_BUILTINS_EXECFILE

0 commit comments

Comments
 (0)