From 3731efba5c9f0f4f0e5a7ad15b80566a444fccf2 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Tue, 9 Dec 2025 14:47:04 +0800 Subject: [PATCH] Update vm.c --- src/interpreter/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpreter/vm.c b/src/interpreter/vm.c index e650a9a4..d1c78829 100644 --- a/src/interpreter/vm.c +++ b/src/interpreter/vm.c @@ -607,7 +607,7 @@ FrameResult VM__vectorcall(VM* self, uint16_t argc, uint16_t kwargc, bool opcall } else { if(is_default_new) { if(argc != 0 || kwargc != 0) { - TypeError("%t() takes no arguments", p0->type); + TypeError("%s() takes no arguments", py_tpname(p0->type)); return RES_ERROR; } }