summaryrefslogtreecommitdiff
path: root/py/objtuple.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2020-01-13 18:15:32 -0500
committerDan Halbert <halbert@halwitz.org>2020-01-13 18:15:32 -0500
commit2a75196aa3598b3daf4c6fcebdc47dcad597b332 (patch)
tree7c615930405baea093ec7c61e29dcf91c3b6c01b /py/objtuple.c
parent4ad004f24eb79a382f1e6230f8ff02784d469d87 (diff)
parent2eb26a6d0b48fb82932190f67475ec101969d3ac (diff)
merge from adafruit/circuitpython
Diffstat (limited to 'py/objtuple.c')
-rw-r--r--py/objtuple.c1
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);