From 12fa5b3a66d6f0034113a56c7d647c7bac5be74c Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Fri, 24 Feb 2017 15:13:07 +0100 Subject: Switch exception throwing to mp_raise helpers. It saves a little code space each time to share the call. --- unix/modjni.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unix') diff --git a/unix/modjni.c b/unix/modjni.c index b474e26ea..99efa4787 100644 --- a/unix/modjni.c +++ b/unix/modjni.c @@ -268,7 +268,7 @@ STATIC mp_obj_t jobject_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value) return mp_const_none; } } - mp_not_implemented(""); + mp_raise_NotImplementError(""); } if (!JJ(IsInstanceOf, self->obj, List_class)) { -- cgit v1.2.3