diff options
Diffstat (limited to 'py')
-rw-r--r-- | py/objfun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objfun.c b/py/objfun.c index a94978e3a4..80cee1643b 100644 --- a/py/objfun.c +++ b/py/objfun.c @@ -249,7 +249,7 @@ continue2:; mp_obj_t *d = &flat_args[self->n_args - 1]; mp_obj_t *s = &self->extra_args[self->n_def_args - 1]; for (int i = self->n_def_args; i > 0; i--) { - if (*d != MP_OBJ_NULL) { + if (*d == MP_OBJ_NULL) { *d-- = *s--; } } |