change function depending on the operation

This commit is contained in:
William Bell
2025-08-14 05:42:38 +01:00
parent 340843c99c
commit 4b439fc52a
4 changed files with 25 additions and 15 deletions

View File

@@ -66,7 +66,7 @@ ArgonObject *ARGON_TYPE_TYPE___call__(size_t argc, ArgonObject **argv,
if (argc < 1) {
*err =
create_err(0, 0, 0, "", "Runtime Error",
"__call__ expects at least 1 argument, got %" PRIu64, argc);
"__call__ expects at least 1 argument, got %" PRIu64, argc);
return ARGON_NULL;
}
ArgonObject *cls = argv[0];