diff options
author | Damien George <damien.p.george@gmail.com> | 2014-02-12 23:02:19 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-02-12 23:02:19 +0000 |
commit | 099a9cb575b254dd9e00fd1c60859aec7299deb7 (patch) | |
tree | 9e5fd851076515e760ad84439c9360ee9410722b /py/objlist.c | |
parent | 780ba22bb8d4451761952a5401cb15935c8eb4fb (diff) | |
download | micropython-099a9cb575b254dd9e00fd1c60859aec7299deb7.tar.gz micropython-099a9cb575b254dd9e00fd1c60859aec7299deb7.zip |
Remove mp_obj_new_exception_msg_1_arg and _2_arg.
Diffstat (limited to 'py/objlist.c')
-rw-r--r-- | py/objlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objlist.c b/py/objlist.c index b565a88de9..5516a08f85 100644 --- a/py/objlist.c +++ b/py/objlist.c @@ -62,7 +62,7 @@ STATIC mp_obj_t list_make_new(mp_obj_t type_in, uint n_args, uint n_kw, const mp } default: - nlr_jump(mp_obj_new_exception_msg_1_arg(MP_QSTR_TypeError, "list takes at most 1 argument, %d given", (void*)(machine_int_t)n_args)); + nlr_jump(mp_obj_new_exception_msg_varg(MP_QSTR_TypeError, "list takes at most 1 argument, %d given", n_args)); } return NULL; } |