From 78390b8eb911f45541bb6e5283b84df3befdce79 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Fri, 15 Nov 2024 18:43:27 +0800 Subject: [PATCH] ... --- src/public/modules.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/public/modules.c b/src/public/modules.c index 3674b76e..20bae895 100644 --- a/src/public/modules.c +++ b/src/public/modules.c @@ -291,7 +291,6 @@ static bool builtins_round(int argc, py_Ref argv) { py_assign(py_retval(), py_arg(0)); return true; } else if(argv->type == tp_float) { - PY_CHECK_ARG_TYPE(0, tp_float); py_f64 x = py_tofloat(py_arg(0)); py_f64 offset = x >= 0 ? 0.5 : -0.5; if(ndigits == -1) {