diff options
| author | Roy Hooper <rhooper@toybox.ca> | 2019-11-23 12:09:26 -0500 |
|---|---|---|
| committer | Roy Hooper <rhooper@toybox.ca> | 2019-11-23 12:09:26 -0500 |
| commit | c770ccd93917cf46a7b8cef7613ff389d7c3d18d (patch) | |
| tree | e063f44fe16ce0d7411511f55bdea48d97e84420 /py/objtuple.c | |
| parent | fa57de06886f3ec6785ec74676da0b08758c81c7 (diff) | |
make ->subscr take an instance to pass when instance_subscr is called from subscr.
Diffstat (limited to 'py/objtuple.c')
| -rw-r--r-- | py/objtuple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objtuple.c b/py/objtuple.c index ed13cdcef..625c53bdd 100644 --- a/py/objtuple.c +++ b/py/objtuple.c @@ -177,7 +177,7 @@ mp_obj_t mp_obj_tuple_binary_op(mp_binary_op_t op, mp_obj_t lhs, mp_obj_t rhs) { } } -mp_obj_t mp_obj_tuple_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value) { +mp_obj_t mp_obj_tuple_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value, mp_obj_t instance) { if (value == MP_OBJ_SENTINEL) { // load mp_obj_tuple_t *self = MP_OBJ_TO_PTR(self_in); |
