From 75d6abe3bb57cf75915a056e5e98e4b79efec2ad Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Fri, 24 Feb 2017 16:46:38 +0100 Subject: Correct name of mp_raise_NotImplementedError to make error name. --- py/objint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'py/objint.c') diff --git a/py/objint.c b/py/objint.c index edb2ecd87..72058a090 100644 --- a/py/objint.c +++ b/py/objint.c @@ -380,7 +380,7 @@ STATIC mp_obj_t int_from_bytes(size_t n_args, const mp_obj_t *args) { (void)n_args; if (args[2] != MP_OBJ_NEW_QSTR(MP_QSTR_little)) { - mp_raise_NotImplementError(""); + mp_raise_NotImplementedError(""); } // get the buffer info @@ -405,7 +405,7 @@ STATIC mp_obj_t int_to_bytes(size_t n_args, const mp_obj_t *args) { (void)n_args; if (args[2] != MP_OBJ_NEW_QSTR(MP_QSTR_little)) { - mp_raise_NotImplementError(""); + mp_raise_NotImplementedError(""); } mp_uint_t len = MP_OBJ_SMALL_INT_VALUE(args[1]); -- cgit v1.2.3