Commit 1e82ef3a authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

Merge pull request #660 from Rosuav/assert0

Replace assert(0) with a self-documenting TODO string
parents 76c8a4c9 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) {
assert(!"TODO: rsplit(None,n) not implemented");
} else {
uint sep_len;
const char *sep_str = mp_obj_str_get_data(sep, &sep_len);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment