We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48bf6b3 commit 7ce6a8fCopy full SHA for 7ce6a8f
1 file changed
py/objlist.c
@@ -162,7 +162,6 @@ mp_obj_t mp_obj_list_append(mp_obj_t self_in, mp_obj_t arg) {
162
mp_obj_list_t *self = self_in;
163
if (self->len >= self->alloc) {
164
self->items = m_renew(mp_obj_t, self->items, self->alloc, self->alloc * 2);
165
- assert(self->items);
166
self->alloc *= 2;
167
}
168
self->items[self->len++] = arg;
0 commit comments