summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index a4df86fda7..86a5f2632c 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -139,16 +139,10 @@ Q(staticmethod)
Q(sum)
Q(super)
Q(str)
-#if MICROPY_ENABLE_MOD_STRUCT
-Q(struct)
-#endif
Q(sys)
Q(to_bytes)
Q(tuple)
Q(type)
-#if MICROPY_ENABLE_MOD_STRUCT
-Q(unpack)
-#endif
Q(value)
Q(zip)
@@ -299,6 +293,12 @@ Q(version)
Q(version_info)
#endif
+#if MICROPY_ENABLE_MOD_STRUCT
+Q(struct)
+Q(pack)
+Q(unpack)
+#endif
+
#if MICROPY_ENABLE_PROPERTY
Q(property)
Q(getter)