py: Add option to disable set() object (enabled by default).

This commit is contained in:
Damien George
2014-06-01 13:46:47 +01:00
parent fb510b3bf9
commit 3ebd4d0cae
6 changed files with 17 additions and 0 deletions

View File

@@ -115,8 +115,10 @@ typedef enum {
MP_F_LIST_APPEND,
MP_F_BUILD_MAP,
MP_F_STORE_MAP,
#if MICROPY_PY_BUILTINS_SET
MP_F_BUILD_SET,
MP_F_STORE_SET,
#endif
MP_F_MAKE_FUNCTION_FROM_RAW_CODE,
MP_F_CALL_FUNCTION_N_KW_FOR_NATIVE,
MP_F_CALL_METHOD_N_KW,