diff options
| author | Roy Hooper <rhooper@toybox.ca> | 2019-12-29 13:56:47 -0500 |
|---|---|---|
| committer | Roy Hooper <rhooper@toybox.ca> | 2019-12-29 13:56:47 -0500 |
| commit | 023d64fe4a448101545a964d50e72dcc5de0a8d2 (patch) | |
| tree | c05621a3b81618f4e30cd0aafd4215d826b3a8ed /py/objrange.c | |
| parent | 09d4fe03249eee6561dfec232c85344eba4d07a4 (diff) | |
| parent | f1a9039632bafba8bf43e9f3b3951c82ca313678 (diff) | |
Merge branch 'pixelbuf-subscr-change' into new-pixelbuf-api
Diffstat (limited to 'py/objrange.c')
| -rw-r--r-- | py/objrange.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objrange.c b/py/objrange.c index 328416303..6f14bcc9f 100644 --- a/py/objrange.c +++ b/py/objrange.c @@ -159,7 +159,7 @@ STATIC mp_obj_t range_binary_op(mp_binary_op_t op, mp_obj_t lhs_in, mp_obj_t rhs #endif #pragma GCC diagnostic ignored "-Wunused-parameter" -STATIC mp_obj_t range_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value, mp_obj_t instance) { +STATIC mp_obj_t range_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value) { if (value == MP_OBJ_SENTINEL) { // load mp_obj_range_t *self = MP_OBJ_TO_PTR(self_in); |
