Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
15633880
Commit
15633880
authored
Aug 07, 2016
by
Paul Sokolovsky
Browse files
py/objstr,objstrunicode: Fix inconistent #if indentation.
parent
56eb25f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
py/objstr.c
View file @
15633880
...
...
@@ -1923,9 +1923,9 @@ STATIC const mp_rom_map_elem_t str8_locals_dict_table[] = {
{
MP_ROM_QSTR
(
MP_QSTR_partition
),
MP_ROM_PTR
(
&
str_partition_obj
)
},
{
MP_ROM_QSTR
(
MP_QSTR_rpartition
),
MP_ROM_PTR
(
&
str_rpartition_obj
)
},
#endif
#if MICROPY_PY_BUILTINS_STR_CENTER
#if MICROPY_PY_BUILTINS_STR_CENTER
{
MP_ROM_QSTR
(
MP_QSTR_center
),
MP_ROM_PTR
(
&
str_center_obj
)
},
#endif
#endif
{
MP_ROM_QSTR
(
MP_QSTR_lower
),
MP_ROM_PTR
(
&
str_lower_obj
)
},
{
MP_ROM_QSTR
(
MP_QSTR_upper
),
MP_ROM_PTR
(
&
str_upper_obj
)
},
{
MP_ROM_QSTR
(
MP_QSTR_isspace
),
MP_ROM_PTR
(
&
str_isspace_obj
)
},
...
...
py/objstrunicode.c
View file @
15633880
...
...
@@ -250,9 +250,9 @@ STATIC const mp_rom_map_elem_t struni_locals_dict_table[] = {
{
MP_ROM_QSTR
(
MP_QSTR_partition
),
MP_ROM_PTR
(
&
str_partition_obj
)
},
{
MP_ROM_QSTR
(
MP_QSTR_rpartition
),
MP_ROM_PTR
(
&
str_rpartition_obj
)
},
#endif
#if MICROPY_PY_BUILTINS_STR_CENTER
#if MICROPY_PY_BUILTINS_STR_CENTER
{
MP_ROM_QSTR
(
MP_QSTR_center
),
MP_ROM_PTR
(
&
str_center_obj
)
},
#endif
#endif
{
MP_ROM_QSTR
(
MP_QSTR_lower
),
MP_ROM_PTR
(
&
str_lower_obj
)
},
{
MP_ROM_QSTR
(
MP_QSTR_upper
),
MP_ROM_PTR
(
&
str_upper_obj
)
},
{
MP_ROM_QSTR
(
MP_QSTR_isspace
),
MP_ROM_PTR
(
&
str_isspace_obj
)
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment