summaryrefslogtreecommitdiff
path: root/py/runtime.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-06-01 13:46:47 +0100
committerDamien George <damien.p.george@gmail.com>2014-06-01 13:46:47 +0100
commit3ebd4d0cae58241c963cabd3cbd02fc9ca261a2f (patch)
tree2556656d19040563240e376a2fe93b85425d4ffd /py/runtime.c
parentfb510b3bf90eccc8e0d400c6622b2e94c2bfa8e9 (diff)
py: Add option to disable set() object (enabled by default).
Diffstat (limited to 'py/runtime.c')
-rw-r--r--py/runtime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/runtime.c b/py/runtime.c
index d2219175d..cb4d16be1 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -1173,8 +1173,10 @@ void *const mp_fun_table[MP_F_NUMBER_OF] = {
mp_obj_list_append,
mp_obj_new_dict,
mp_obj_dict_store,
+#if MICROPY_PY_BUILTINS_SET
mp_obj_new_set,
mp_obj_set_store,
+#endif
mp_make_function_from_raw_code,
mp_call_function_n_kw_for_native,
mp_call_method_n_kw,