aboutsummaryrefslogtreecommitdiff
path: root/py/objslice.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-24 23:03:12 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-24 23:03:12 +0100
commitee3fd46f1383e984c968c4a82d634d7b0cea49b8 (patch)
tree76eb38f9015df5d003f646ce019745426365021c /py/objslice.c
parentd0ceb04b90ca7edd7e45b8eff1cdebdfa20a0cf8 (diff)
Rename configuration variables controling Python features.
Now of the form MICROPY_PY_*. See issue #35.
Diffstat (limited to 'py/objslice.c')
-rw-r--r--py/objslice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objslice.c b/py/objslice.c
index a51a65c11..8fe65de1f 100644
--- a/py/objslice.c
+++ b/py/objslice.c
@@ -56,7 +56,7 @@ const mp_obj_ellipsis_t mp_const_ellipsis_obj = {{&mp_type_ellipsis}};
/******************************************************************************/
/* slice object */
-#if MICROPY_ENABLE_SLICE
+#if MICROPY_PY_SLICE
// TODO: This implements only variant of slice with 2 integer args only.
// CPython supports 3rd arg (step), plus args can be arbitrary Python objects.