diff options
author | xbe <xbe@machine> | 2014-03-23 22:56:21 -0700 |
---|---|---|
committer | xbe <xbe@machine> | 2014-03-23 22:56:21 -0700 |
commit | 8562de6c489e0ddb36c1d030d68d35c73b22f469 (patch) | |
tree | 44a16225a44f58a5feb6051bf3eaadefe22e444c /py/objstr.c | |
parent | 4750a8398b62107753d684b18e9cf2534f5de155 (diff) | |
download | micropython-8562de6c489e0ddb36c1d030d68d35c73b22f469.tar.gz micropython-8562de6c489e0ddb36c1d030d68d35c73b22f469.zip |
py/objstr.c: Remove done TODOs.
Diffstat (limited to 'py/objstr.c')
-rw-r--r-- | py/objstr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/py/objstr.c b/py/objstr.c index 35a948700c..b3aac25aed 100644 --- a/py/objstr.c +++ b/py/objstr.c @@ -392,7 +392,6 @@ STATIC mp_obj_t str_find(uint n_args, const mp_obj_t *args) { machine_uint_t start = 0; machine_uint_t end = haystack_len; - /* TODO use a non-exception-throwing mp_get_index */ if (n_args >= 3 && args[2] != mp_const_none) { start = mp_get_index(&str_type, haystack_len, args[2], true); } @@ -601,7 +600,6 @@ STATIC mp_obj_t str_count(uint n_args, const mp_obj_t *args) { machine_uint_t start = 0; machine_uint_t end = haystack_len; - /* TODO use a non-exception-throwing mp_get_index */ if (n_args >= 3 && args[2] != mp_const_none) { start = mp_get_index(&str_type, haystack_len, args[2], true); } |