summaryrefslogtreecommitdiff
path: root/extmod/moductypes.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 /extmod/moductypes.c
parentfa57de06886f3ec6785ec74676da0b08758c81c7 (diff)
make ->subscr take an instance to pass when instance_subscr is called from subscr.
Diffstat (limited to 'extmod/moductypes.c')
-rw-r--r--extmod/moductypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/moductypes.c b/extmod/moductypes.c
index 9eea30bf3..2165152ea 100644
--- a/extmod/moductypes.c
+++ b/extmod/moductypes.c
@@ -518,7 +518,7 @@ STATIC void uctypes_struct_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest) {
}
}
-STATIC mp_obj_t uctypes_struct_subscr(mp_obj_t self_in, mp_obj_t index_in, mp_obj_t value) {
+STATIC mp_obj_t uctypes_struct_subscr(mp_obj_t self_in, mp_obj_t index_in, mp_obj_t value, mp_obj_t instance) {
mp_obj_uctypes_struct_t *self = MP_OBJ_TO_PTR(self_in);
if (value == MP_OBJ_NULL) {