commit | 9ab8ab211701b259fe92d01a20c0ca45ee15b92c | [log] [tgz] |
---|---|---|
author | Chris Angelico <rosuav@gmail.com> | Wed Jun 04 05:04:23 2014 +1000 |
committer | Chris Angelico <rosuav@gmail.com> | Thu Jun 05 06:05:57 2014 +1000 |
tree | 0455791c64fdfff847f28767bc580db6fee845ed | |
parent | 30583f58d5363657d74829160097c58aed4f3ce1 [diff] |
Replace assert(0) with a self-documenting TODO string
diff --git a/py/objstr.c b/py/objstr.c index 440f634..012d640 100644 --- a/py/objstr.c +++ b/py/objstr.c
@@ -513,8 +513,7 @@ 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);