summaryrefslogtreecommitdiff
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index d1bb4dc24..e8a493dbe 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -134,11 +134,18 @@ Q(abs)
Q(all)
Q(any)
Q(args)
+#if MICROPY_PY_ARRAY
Q(array)
+#endif
Q(bin)
Q({:#b})
Q(bool)
+#if MICROPY_PY_BUILTINS_BYTEARRAY
Q(bytearray)
+#endif
+#if MICROPY_PY_BUILTINS_MEMORYVIEW
+Q(memoryview)
+#endif
Q(bytes)
Q(callable)
#if MICROPY_PY_STRUCT