summaryrefslogtreecommitdiff
path: root/py/objint.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-02-24 16:46:38 +0100
committerScott Shawcroft <scott.shawcroft@gmail.com>2017-02-24 16:46:38 +0100
commit75d6abe3bb57cf75915a056e5e98e4b79efec2ad (patch)
treed61e76e2a6c71482515fb1f156b501833d38e165 /py/objint.c
parent35071b36811b3d1043e0a57018b81798b60d72fa (diff)
Correct name of mp_raise_NotImplementedError to make error name.
Diffstat (limited to 'py/objint.c')
-rw-r--r--py/objint.c4
1 files changed, 2 insertions, 2 deletions
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]);