diff options
| author | Dan Halbert <halbert@adafruit.com> | 2020-01-03 17:19:02 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-03 17:19:02 -0500 |
| commit | fc5f7764298da3e0016e26bb16292ae406aada08 (patch) | |
| tree | 31f28a7e8bfc493a6293acee37b364517510b19b /py/objtuple.c | |
| parent | 32b82032a1af88314aa260665a4bfd8c4b7a6988 (diff) | |
| parent | 767ce1cdf8c56ed00f2b88c4babcd92b91b51755 (diff) | |
Merge pull request #2034 from rhooper/new-pixelbuf-api
Updates to pixelbuf API - Addresses #884
Diffstat (limited to 'py/objtuple.c')
| -rw-r--r-- | py/objtuple.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objtuple.c b/py/objtuple.c index ed13cdcef..2b483f8b8 100644 --- a/py/objtuple.c +++ b/py/objtuple.c @@ -178,6 +178,7 @@ mp_obj_t mp_obj_tuple_binary_op(mp_binary_op_t op, mp_obj_t lhs, mp_obj_t rhs) { } mp_obj_t mp_obj_tuple_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value) { + if (value == MP_OBJ_SENTINEL) { // load mp_obj_tuple_t *self = MP_OBJ_TO_PTR(self_in); |
