diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-02-24 16:46:38 +0100 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-02-24 16:46:38 +0100 |
| commit | 75d6abe3bb57cf75915a056e5e98e4b79efec2ad (patch) | |
| tree | d61e76e2a6c71482515fb1f156b501833d38e165 /py/objlist.c | |
| parent | 35071b36811b3d1043e0a57018b81798b60d72fa (diff) | |
Correct name of mp_raise_NotImplementedError to make error name.
Diffstat (limited to 'py/objlist.c')
| -rw-r--r-- | py/objlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objlist.c b/py/objlist.c index d25ea4ac3..fa76d8938 100644 --- a/py/objlist.c +++ b/py/objlist.c @@ -156,7 +156,7 @@ STATIC mp_obj_t list_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value) { mp_obj_list_t *self = MP_OBJ_TO_PTR(self_in); mp_bound_slice_t slice; if (!mp_seq_get_fast_slice_indexes(self->len, index, &slice)) { - mp_raise_NotImplementError(""); + mp_raise_NotImplementedError(""); } mp_int_t len_adj = slice.start - slice.stop; @@ -196,7 +196,7 @@ STATIC mp_obj_t list_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value) { mp_obj_list_t *slice = MP_OBJ_TO_PTR(value); mp_bound_slice_t slice_out; if (!mp_seq_get_fast_slice_indexes(self->len, index, &slice_out)) { - mp_raise_NotImplementError(""); + mp_raise_NotImplementedError(""); } mp_int_t len_adj = slice->len - (slice_out.stop - slice_out.start); //printf("Len adj: %d\n", len_adj); |
