diff options
| author | Damien George <damien.p.george@gmail.com> | 2019-12-20 23:34:46 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2019-12-20 23:34:46 +1100 |
| commit | 035180ca015d01934094adea52affbf867e4cdc6 (patch) | |
| tree | 3138cfe0f5a52212d6021919dfd9b99ee4f6d0c0 /py/objlist.c | |
| parent | 1f371947309c5ea6023b6d9065415697cbc75578 (diff) | |
py: Remove commented-out debug printf's from emitbc and objlist.
Any debugging prints should use a macro like DEBUG_printf.
Diffstat (limited to 'py/objlist.c')
| -rw-r--r-- | py/objlist.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/py/objlist.c b/py/objlist.c index ec9d57fc7..29a1d8b1a 100644 --- a/py/objlist.c +++ b/py/objlist.c @@ -162,7 +162,6 @@ STATIC mp_obj_t list_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value) { } mp_int_t len_adj = slice.start - slice.stop; - //printf("Len adj: %d\n", len_adj); assert(len_adj <= 0); mp_seq_replace_slice_no_grow(self->items, self->len, slice.start, slice.stop, self->items/*NULL*/, 0, sizeof(*self->items)); // Clear "freed" elements at the end of list @@ -201,7 +200,6 @@ STATIC mp_obj_t list_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value) { mp_raise_NotImplementedError(NULL); } mp_int_t len_adj = value_len - (slice_out.stop - slice_out.start); - //printf("Len adj: %d\n", len_adj); if (len_adj > 0) { if (self->len + len_adj > self->alloc) { // TODO: Might optimize memory copies here by checking if block can |
