commit | 099a9cb575b254dd9e00fd1c60859aec7299deb7 | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Wed Feb 12 23:02:19 2014 +0000 |
committer | Damien George <damien.p.george@gmail.com> | Wed Feb 12 23:02:19 2014 +0000 |
tree | 9e5fd851076515e760ad84439c9360ee9410722b | |
parent | 780ba22bb8d4451761952a5401cb15935c8eb4fb [diff] [blame] |
Remove mp_obj_new_exception_msg_1_arg and _2_arg.
diff --git a/py/objint.c b/py/objint.c index 2aaf267..51d3b7e 100644 --- a/py/objint.c +++ b/py/objint.c
@@ -39,7 +39,7 @@ } default: - nlr_jump(mp_obj_new_exception_msg_1_arg(MP_QSTR_TypeError, "int takes at most 2 arguments, %d given", (void*)(machine_int_t)n_args)); + nlr_jump(mp_obj_new_exception_msg_varg(MP_QSTR_TypeError, "int takes at most 2 arguments, %d given", n_args)); } }