Skip to content

Commit 1563388

Browse files
committed
py/objstr,objstrunicode: Fix inconistent #if indentation.
1 parent 56eb25f commit 1563388

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

py/objstr.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1923,9 +1923,9 @@ STATIC const mp_rom_map_elem_t str8_locals_dict_table[] = {
19231923
{ MP_ROM_QSTR(MP_QSTR_partition), MP_ROM_PTR(&str_partition_obj) },
19241924
{ MP_ROM_QSTR(MP_QSTR_rpartition), MP_ROM_PTR(&str_rpartition_obj) },
19251925
#endif
1926-
#if MICROPY_PY_BUILTINS_STR_CENTER
1926+
#if MICROPY_PY_BUILTINS_STR_CENTER
19271927
{ MP_ROM_QSTR(MP_QSTR_center), MP_ROM_PTR(&str_center_obj) },
1928-
#endif
1928+
#endif
19291929
{ MP_ROM_QSTR(MP_QSTR_lower), MP_ROM_PTR(&str_lower_obj) },
19301930
{ MP_ROM_QSTR(MP_QSTR_upper), MP_ROM_PTR(&str_upper_obj) },
19311931
{ MP_ROM_QSTR(MP_QSTR_isspace), MP_ROM_PTR(&str_isspace_obj) },

py/objstrunicode.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,9 @@ STATIC const mp_rom_map_elem_t struni_locals_dict_table[] = {
250250
{ MP_ROM_QSTR(MP_QSTR_partition), MP_ROM_PTR(&str_partition_obj) },
251251
{ MP_ROM_QSTR(MP_QSTR_rpartition), MP_ROM_PTR(&str_rpartition_obj) },
252252
#endif
253-
#if MICROPY_PY_BUILTINS_STR_CENTER
253+
#if MICROPY_PY_BUILTINS_STR_CENTER
254254
{ MP_ROM_QSTR(MP_QSTR_center), MP_ROM_PTR(&str_center_obj) },
255-
#endif
255+
#endif
256256
{ MP_ROM_QSTR(MP_QSTR_lower), MP_ROM_PTR(&str_lower_obj) },
257257
{ MP_ROM_QSTR(MP_QSTR_upper), MP_ROM_PTR(&str_upper_obj) },
258258
{ MP_ROM_QSTR(MP_QSTR_isspace), MP_ROM_PTR(&str_isspace_obj) },

0 commit comments

Comments
 (0)