Remove mp_obj_new_exception_msg_1_arg and _2_arg.

This commit is contained in:
Damien George
2014-02-12 23:02:19 +00:00
parent 780ba22bb8
commit 099a9cb575
16 changed files with 30 additions and 41 deletions

View File

@@ -66,7 +66,7 @@ STATIC mp_obj_t complex_make_new(mp_obj_t type_in, uint n_args, uint n_kw, const
}
default:
nlr_jump(mp_obj_new_exception_msg_1_arg(MP_QSTR_TypeError, "complex takes at most 2 arguments, %d given", (void*)(machine_int_t)n_args));
nlr_jump(mp_obj_new_exception_msg_varg(MP_QSTR_TypeError, "complex takes at most 2 arguments, %d given", n_args));
}
}