summaryrefslogtreecommitdiff
path: root/py/objlist.c
diff options
context:
space:
mode:
authorRoy Hooper <rhooper@toybox.ca>2019-12-13 14:29:15 -0500
committerRoy Hooper <rhooper@toybox.ca>2019-12-13 14:29:15 -0500
commitdc8dd6df20f4904917169f4ec1172c8f3827e822 (patch)
treef049a58666bec6ebc5b35170ee78e27e9636ad48 /py/objlist.c
parent15072c69c9e940fa5cb0239fc821d2c0353f918e (diff)
Revert subscr signature change
Diffstat (limited to 'py/objlist.c')
-rw-r--r--py/objlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objlist.c b/py/objlist.c
index 0c0d60aa8..64381bc70 100644
--- a/py/objlist.c
+++ b/py/objlist.c
@@ -159,7 +159,7 @@ STATIC mp_obj_t list_binary_op(mp_binary_op_t op, mp_obj_t lhs, mp_obj_t rhs) {
}
#pragma GCC diagnostic ignored "-Wunused-parameter"
-STATIC mp_obj_t list_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value, mp_obj_t instance) {
+STATIC mp_obj_t list_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value) {
mp_obj_list_t *self = mp_instance_cast_to_native_base(self_in, &mp_type_list);
if (value == MP_OBJ_NULL) {
// delete