Skip to content

Commit 60a0d3f

Browse files
committed
objexcept: Fix a case of initialized object field.
1 parent c203324 commit 60a0d3f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

py/objexcept.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ STATIC mp_obj_t exception_call(mp_obj_t self_in, uint n_args, uint n_kw, const m
5353

5454
mp_obj_exception_t *o = m_new_obj_var(mp_obj_exception_t, mp_obj_t, n_args);
5555
o->base.type = &exception_type;
56+
o->traceback = MP_OBJ_NULL;
5657
o->id = base->id;
5758
o->msg = NULL;
5859
o->args.len = n_args;

0 commit comments

Comments
 (0)