summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/mpconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 371f2ce03..c5829a3e0 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -729,7 +729,7 @@ typedef double mp_float_t;
// Whether to support module-level __getattr__ (see PEP 562)
#ifndef MICROPY_MODULE_GETATTR
-#define MICROPY_MODULE_GETATTR (0)
+#define MICROPY_MODULE_GETATTR (1)
#endif
// Whether module weak links are supported