summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index bcbbcf98e9..c6c9cc5287 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -118,7 +118,6 @@ Q(hash)
Q(hex)
Q(%#x)
Q(id)
-Q(io)
Q(int)
Q(isinstance)
Q(issubclass)
@@ -308,6 +307,13 @@ Q(pack)
Q(unpack)
#endif
+#if MICROPY_ENABLE_MOD_IO
+Q(io)
+Q(StringIO)
+Q(BytesIO)
+Q(getvalue)
+#endif
+
#if MICROPY_ENABLE_PROPERTY
Q(property)
Q(getter)