There was an error while loading. Please reload this page.
1 parent 2ca84aa commit 9d95a2bCopy full SHA for 9d95a2b
py/objfun.c
@@ -63,7 +63,7 @@ mp_obj_t fun_native_call(mp_obj_t self_in, uint n_args, uint n_kw, const mp_obj_
63
64
return res;
65
66
- } else if (self->n_args_min == self->n_args_max) {
+ } else if (self->n_args_min <= 3 && self->n_args_min == self->n_args_max) {
67
// function requires a fixed number of arguments
68
69
// dispatch function call
0 commit comments