From cd22627f781080fb245dd6999f2158c8099379b0 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 3 Jan 2014 03:01:12 +0200 Subject: [PATCH] Enable slice support in config. --- py/mpconfig.h | 6 ++++++ 1 file changed, 6 insertions(+) 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