From 3ebd4d0cae58241c963cabd3cbd02fc9ca261a2f Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 1 Jun 2014 13:46:47 +0100 Subject: py: Add option to disable set() object (enabled by default). --- py/runtime.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'py/runtime.c') 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, -- cgit v1.2.3