mirror of
https://github.com/pocketpy/pocketpy
synced 2025-12-16 06:50:16 +00:00
Update vm.c
This commit is contained in:
parent
3731efba5c
commit
a094dcb34d
@ -607,7 +607,7 @@ FrameResult VM__vectorcall(VM* self, uint16_t argc, uint16_t kwargc, bool opcall
|
|||||||
} else {
|
} else {
|
||||||
if(is_default_new) {
|
if(is_default_new) {
|
||||||
if(argc != 0 || kwargc != 0) {
|
if(argc != 0 || kwargc != 0) {
|
||||||
TypeError("%s() takes no arguments", py_tpname(p0->type));
|
TypeError("%t() takes no arguments", py_totype(p0));
|
||||||
return RES_ERROR;
|
return RES_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user