mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 20:10:17 +00:00
some fix
This commit is contained in:
parent
f9cc2f2f29
commit
150af1b714
@ -862,7 +862,7 @@ PyObject* VM::vectorcall(int ARGC, int KWARGC, bool op_call){
|
|||||||
PyObject* callable = p1[-(ARGC + 2)];
|
PyObject* callable = p1[-(ARGC + 2)];
|
||||||
Type callable_t = _tp(callable);
|
Type callable_t = _tp(callable);
|
||||||
|
|
||||||
bool method_call = p1[-(ARGC + 1)] != PY_NULL;
|
bool method_call = p0[1] != PY_NULL;
|
||||||
|
|
||||||
// handle boundmethod, do a patch
|
// handle boundmethod, do a patch
|
||||||
if(callable_t == tp_bound_method){
|
if(callable_t == tp_bound_method){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user