aboutsummaryrefslogtreecommitdiff
path: root/py/objtype.c
diff options
context:
space:
mode:
authorDamien George2014-02-02 13:11:48 +0000
committerDamien George2014-02-02 13:11:48 +0000
commitcd82e02e84df5f9f2f3082d865beae25217af2a1 (patch)
tree84f4e30347538847f33231a44f094bdae7fb52d9 /py/objtype.c
parent48697f1dd2fbf45fda6de4277de976c23e7d8302 (diff)
py: Partially fix native emitter to work with latest runtime.
Native emitter has been broken since stack order has changed from reverse to standard. This fix gets it partially working.
Diffstat (limited to 'py/objtype.c')
-rw-r--r--py/objtype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objtype.c b/py/objtype.c
index 601632534..67d4f5869 100644
--- a/py/objtype.c
+++ b/py/objtype.c
@@ -275,7 +275,7 @@ static mp_obj_t type_make_new(mp_obj_t type_in, uint n_args, uint n_kw, const mp
return mp_obj_new_type(mp_obj_str_get_str(args[0]), args[1], args[2]);
default:
- nlr_jump(mp_obj_new_exception_msg(MP_QSTR_TypeError, "type takes at 1 or 3 arguments"));
+ nlr_jump(mp_obj_new_exception_msg(MP_QSTR_TypeError, "type takes 1 or 3 arguments"));
}
}