From 099a9cb575b254dd9e00fd1c60859aec7299deb7 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 12 Feb 2014 23:02:19 +0000 Subject: Remove mp_obj_new_exception_msg_1_arg and _2_arg. --- py/objfloat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/objfloat.c') diff --git a/py/objfloat.c b/py/objfloat.c index 309a92f9f1..fdb8250568 100644 --- a/py/objfloat.c +++ b/py/objfloat.c @@ -40,7 +40,7 @@ STATIC mp_obj_t float_make_new(mp_obj_t type_in, uint n_args, uint n_kw, const m } default: - nlr_jump(mp_obj_new_exception_msg_1_arg(MP_QSTR_TypeError, "float takes at most 1 argument, %d given", (void*)(machine_int_t)n_args)); + nlr_jump(mp_obj_new_exception_msg_varg(MP_QSTR_TypeError, "float takes at most 1 argument, %d given", n_args)); } } -- cgit v1.2.3