summaryrefslogtreecommitdiffstatshomepage
path: root/py/objslice.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objslice.c')
-rw-r--r--py/objslice.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/py/objslice.c b/py/objslice.c
index 86ee03ec51..d1c23cbf25 100644
--- a/py/objslice.c
+++ b/py/objslice.c
@@ -96,11 +96,11 @@ const mp_obj_type_t mp_type_slice = {
{ &mp_type_type },
.name = MP_QSTR_slice,
.print = slice_print,
-#if MICROPY_PY_BUILTINS_SLICE_ATTRS
+ #if MICROPY_PY_BUILTINS_SLICE_ATTRS
.attr = slice_attr,
-#elif MICROPY_PY_BUILTINS_SLICE_INDICES
- .locals_dict = (mp_obj_dict_t*)&slice_locals_dict,
-#endif
+ #elif MICROPY_PY_BUILTINS_SLICE_INDICES
+ .locals_dict = (mp_obj_dict_t *)&slice_locals_dict,
+ #endif
};
mp_obj_t mp_obj_new_slice(mp_obj_t ostart, mp_obj_t ostop, mp_obj_t ostep) {