diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-03 17:03:19 -0800 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-03 17:03:19 -0800 |
commit | b95d90b2f37e00a39a7cca46c24c9d496bb1e342 (patch) | |
tree | dee120c28b998e528b1ba9f7a72d7dee2df7e12f /py/mpconfig.h | |
parent | 9ba9589ef71920132cd6ec5c3a948e9c605b50f7 (diff) | |
parent | f8b9d3c41addea79851c355f014db9f0f256cdaf (diff) | |
download | micropython-b95d90b2f37e00a39a7cca46c24c9d496bb1e342.tar.gz micropython-b95d90b2f37e00a39a7cca46c24c9d496bb1e342.zip |
Merge pull request #59 from pfalcon/slice
Implement basic slice object and string slicing
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 44095bd10b..56495d9156 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 |