diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-03 03:01:12 +0200 |
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-04 02:35:48 +0200 |
| commit | cd22627f781080fb245dd6999f2158c8099379b0 (patch) | |
| tree | 68a794216e73568949684d79d16d6c23a7a9f36a /py/mpconfig.h | |
| parent | 31ba60f8364a4009ddc3d45fee90c84b43d88d2c (diff) | |
Enable slice support in config.
Diffstat (limited to 'py/mpconfig.h')
| -rw-r--r-- | py/mpconfig.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 44095bd10..56495d915 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -25,3 +25,9 @@ #ifndef MICROPY_MEM_STATS #define MICROPY_MEM_STATS (1) #endif + +// Whether to support slice object and correspondingly +// slice subscript operators +#ifndef MICROPY_ENABLE_SLICE +#define MICROPY_ENABLE_SLICE (1) +#endif |
