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/objstrunicode.c | |
| parent | 09d4fe03249eee6561dfec232c85344eba4d07a4 (diff) | |
| parent | f1a9039632bafba8bf43e9f3b3951c82ca313678 (diff) | |
Merge branch 'pixelbuf-subscr-change' into new-pixelbuf-api
Diffstat (limited to 'py/objstrunicode.c')
| -rw-r--r-- | py/objstrunicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstrunicode.c b/py/objstrunicode.c index dc8c0743d..2540a1d7b 100644 --- a/py/objstrunicode.c +++ b/py/objstrunicode.c @@ -198,7 +198,7 @@ const byte *str_index_to_ptr(const mp_obj_type_t *type, const byte *self_data, s } #pragma GCC diagnostic ignored "-Wunused-parameter" -STATIC mp_obj_t str_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value, mp_obj_t instance) { +STATIC mp_obj_t str_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value) { mp_obj_type_t *type = mp_obj_get_type(self_in); assert(type == &mp_type_str); GET_STR_DATA_LEN(self_in, self_data, self_len); |
