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
9ab8ab21
Commit
9ab8ab21
authored
Jun 04, 2014
by
Chris Angelico
Browse files
Replace assert(0) with a self-documenting TODO string
parent
30583f58
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/objstr.c
View file @
9ab8ab21
...
...
@@ -513,8 +513,7 @@ STATIC mp_obj_t str_rsplit(uint n_args, const mp_obj_t *args) {
int
idx
=
splits
;
if
(
sep
==
mp_const_none
)
{
// TODO
assert
(
0
);
assert
(
!
"TODO: rsplit(None,n) not implemented"
);
}
else
{
uint
sep_len
;
const
char
*
sep_str
=
mp_obj_str_get_data
(
sep
,
&
sep_len
);
...
...
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