summaryrefslogtreecommitdiffstatshomepage
path: root/py/objtuple.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objtuple.c')
-rw-r--r--py/objtuple.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/py/objtuple.c b/py/objtuple.c
index 10a5e586f6..7df7a3a6e4 100644
--- a/py/objtuple.c
+++ b/py/objtuple.c
@@ -111,9 +111,6 @@ STATIC mp_obj_t tuple_cmp_helper(mp_uint_t op, mp_obj_t self_in, mp_obj_t anothe
// Slow path for user subclasses
another_in = mp_instance_cast_to_native_base(another_in, MP_OBJ_FROM_PTR(&mp_type_tuple));
if (another_in == MP_OBJ_NULL) {
- if (op == MP_BINARY_OP_EQUAL) {
- return mp_const_false;
- }
return MP_OBJ_NULL;
}
}