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/objstrunicode.c | |
| parent | 35071b36811b3d1043e0a57018b81798b60d72fa (diff) | |
Correct name of mp_raise_NotImplementedError to make error name.
Diffstat (limited to 'py/objstrunicode.c')
| -rw-r--r-- | py/objstrunicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstrunicode.c b/py/objstrunicode.c index b12c68e61..e9c66e290 100644 --- a/py/objstrunicode.c +++ b/py/objstrunicode.c @@ -188,7 +188,7 @@ STATIC mp_obj_t str_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value) { mp_obj_t ostart, ostop, ostep; mp_obj_slice_get(index, &ostart, &ostop, &ostep); if (ostep != mp_const_none && ostep != MP_OBJ_NEW_SMALL_INT(1)) { - mp_raise_NotImplementError("only slices with step=1 (aka None) are supported"); + mp_raise_NotImplementedError("only slices with step=1 (aka None) are supported"); } const byte *pstart, *pstop; |
