aboutsummaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorPaul Sokolovsky2014-05-10 16:02:17 +0300
committerPaul Sokolovsky2014-05-10 16:56:20 +0300
commitb181b581aa1e102007c76f2943912cabf6fe0de4 (patch)
treeed4f99dee1f2fd264f123a7f532b0a8399d59443 /py/mpconfig.h
parentd86020ac4f6379fa14e1086b1d28e9e080c2a934 (diff)
objset: Give up and implement frozenset.
Tired of patching CPython stdlib for it.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index f8404142a..561c32892 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -235,6 +235,11 @@ typedef double mp_float_t;
#define MICROPY_ENABLE_SLICE (1)
#endif
+// Whether to support frozenset object
+#ifndef MICROPY_ENABLE_FROZENSET
+#define MICROPY_ENABLE_FROZENSET (1)
+#endif
+
// Whether to support the property object
#ifndef MICROPY_ENABLE_PROPERTY
#define MICROPY_ENABLE_PROPERTY (1)