summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-03 17:03:19 -0800
committerDamien George <damien.p.george@gmail.com>2014-01-03 17:03:19 -0800
commitb95d90b2f37e00a39a7cca46c24c9d496bb1e342 (patch)
treedee120c28b998e528b1ba9f7a72d7dee2df7e12f /py/mpconfig.h
parent9ba9589ef71920132cd6ec5c3a948e9c605b50f7 (diff)
parentf8b9d3c41addea79851c355f014db9f0f256cdaf (diff)
downloadmicropython-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.h6
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