summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/objlist.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/py/objlist.c b/py/objlist.c
index 9404032128..21220441b5 100644
--- a/py/objlist.c
+++ b/py/objlist.c
@@ -121,9 +121,6 @@ STATIC mp_obj_t list_binary_op(mp_uint_t op, mp_obj_t lhs, mp_obj_t rhs) {
return MP_OBJ_UNCAST(s);
}
case MP_BINARY_OP_INPLACE_ADD: {
- if (!MP_OBJ_IS_TYPE(rhs, &mp_type_list)) {
- return MP_OBJ_NULL; // op not supported
- }
list_extend(lhs, rhs);
return lhs;
}