Skip to content

Commit 81ad89c

Browse files
committed
untabified
1 parent 4cb8058 commit 81ad89c

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

py/objlist.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,18 @@ static mp_obj_t list_binary_op(int op, mp_obj_t lhs, mp_obj_t rhs) {
4646
}
4747
case RT_BINARY_OP_ADD:
4848
{
49-
if (!MP_OBJ_IS_TYPE(rhs, &list_type)) {
50-
return NULL;
51-
}
52-
mp_obj_list_t *p = rhs;
53-
mp_obj_list_t *s = list_new(o->len + p->len);
54-
for (int i = 0; i < o->len; i++) {
55-
s->items[i] = o->items[i];
56-
}
57-
for (int i = 0; i < p->len; i++) {
58-
s->items[i+o->len] = p->items[i];
59-
}
60-
return s;
49+
if (!MP_OBJ_IS_TYPE(rhs, &list_type)) {
50+
return NULL;
51+
}
52+
mp_obj_list_t *p = rhs;
53+
mp_obj_list_t *s = list_new(o->len + p->len);
54+
for (int i = 0; i < o->len; i++) {
55+
s->items[i] = o->items[i];
56+
}
57+
for (int i = 0; i < p->len; i++) {
58+
s->items[i+o->len] = p->items[i];
59+
}
60+
return s;
6161
}
6262
default:
6363
// op not supported

0 commit comments

Comments
 (0)