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

@@ -239,6 +239,11 @@ typedef double mp_float_t;
/*****************************************************************************/
/* Fine control over Python builtins, classes, modules, etc */
// Whether to support set object
#ifndef MICROPY_PY_BUILTINS_SET
#define MICROPY_PY_BUILTINS_SET (1)
#endif
// Whether to support slice subscript operators and slice object
#ifndef MICROPY_PY_BUILTINS_SLICE
#define MICROPY_PY_BUILTINS_SLICE (1)