summaryrefslogtreecommitdiff
path: root/py/objslice.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2020-02-27 15:36:53 +1100
committerDamien George <damien.p.george@gmail.com>2020-02-28 10:33:03 +1100
commit69661f3343bedf86e514337cff63d96cc42f8859 (patch)
treeaf5dfb380ffdb75dda84828f63cf9d840d992f0f /py/objslice.c
parent3f39d18c2b884d32f0443e2e8114ff9d7a14d718 (diff)
all: Reformat C and Python source code with tools/codeformat.py.
This is run with uncrustify 0.70.1, and black 19.10b0.
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 86ee03ec5..d1c23cbf2 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) {