diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-06-01 13:46:47 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-06-01 13:46:47 +0100 |
| commit | 3ebd4d0cae58241c963cabd3cbd02fc9ca261a2f (patch) | |
| tree | 2556656d19040563240e376a2fe93b85425d4ffd /py/mpconfig.h | |
| parent | fb510b3bf90eccc8e0d400c6622b2e94c2bfa8e9 (diff) | |
py: Add option to disable set() object (enabled by default).
Diffstat (limited to 'py/mpconfig.h')
| -rw-r--r-- | py/mpconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index a72d5c260..77b76bf13 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -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) |
