summaryrefslogtreecommitdiffstatshomepage
path: root/py/objslice.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-06-01 13:32:54 +0100
committerDamien George <damien.p.george@gmail.com>2014-06-01 13:32:54 +0100
commitfb510b3bf90eccc8e0d400c6622b2e94c2bfa8e9 (patch)
tree9160abef8ff03cba6ba2d1d5664f5fb706917355 /py/objslice.c
parentc60a261ef03f906ae1973f93c63169a5236f0b1f (diff)
downloadmicropython-fb510b3bf90eccc8e0d400c6622b2e94c2bfa8e9.tar.gz
micropython-fb510b3bf90eccc8e0d400c6622b2e94c2bfa8e9.zip
Rename bultins config variables to MICROPY_PY_BUILTINS_*.
This renames: MICROPY_PY_FROZENSET -> MICROPY_PY_BUILTINS_FROZENSET MICROPY_PY_PROPERTY -> MICROPY_PY_BUILTINS_PROPERTY MICROPY_PY_SLICE -> MICROPY_PY_BUILTINS_SLICE MICROPY_ENABLE_FLOAT -> MICROPY_PY_BUILTINS_FLOAT See issue #35 for discussion.
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 dfd070f8d0..6324c0e49b 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_PY_SLICE
+#if MICROPY_PY_BUILTINS_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.