diff options
| author | Roy Hooper <rhooper@toybox.ca> | 2019-12-13 14:29:15 -0500 |
|---|---|---|
| committer | Roy Hooper <rhooper@toybox.ca> | 2019-12-13 14:29:15 -0500 |
| commit | dc8dd6df20f4904917169f4ec1172c8f3827e822 (patch) | |
| tree | f049a58666bec6ebc5b35170ee78e27e9636ad48 /py/objlist.c | |
| parent | 15072c69c9e940fa5cb0239fc821d2c0353f918e (diff) | |
Revert subscr signature change
Diffstat (limited to 'py/objlist.c')
| -rw-r--r-- | py/objlist.c | 2 |
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 |
