summaryrefslogtreecommitdiff
path: root/py/objtuple.c
diff options
context:
space:
mode:
authorRoy Hooper <rhooper@toybox.ca>2019-11-23 12:09:26 -0500
committerRoy Hooper <rhooper@toybox.ca>2019-11-23 12:09:26 -0500
commitc770ccd93917cf46a7b8cef7613ff389d7c3d18d (patch)
treee063f44fe16ce0d7411511f55bdea48d97e84420 /py/objtuple.c
parentfa57de06886f3ec6785ec74676da0b08758c81c7 (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.c2
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);