summaryrefslogtreecommitdiff
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index 9a6953d01..16360e73e 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -136,7 +136,11 @@ Q(calcsize)
Q(chr)
Q(classmethod)
Q(_collections)
+#if MICROPY_PY_BUILTINS_COMPLEX
Q(complex)
+Q(real)
+Q(imag)
+#endif
Q(dict)
Q(dir)
Q(divmod)