Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
60a0d3f1
Commit
60a0d3f1
authored
Feb 14, 2014
by
Paul Sokolovsky
Browse files
objexcept: Fix a case of initialized object field.
parent
c203324e
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/objexcept.c
View file @
60a0d3f1
...
...
@@ -53,6 +53,7 @@ STATIC mp_obj_t exception_call(mp_obj_t self_in, uint n_args, uint n_kw, const m
mp_obj_exception_t
*
o
=
m_new_obj_var
(
mp_obj_exception_t
,
mp_obj_t
,
n_args
);
o
->
base
.
type
=
&
exception_type
;
o
->
traceback
=
MP_OBJ_NULL
;
o
->
id
=
base
->
id
;
o
->
msg
=
NULL
;
o
->
args
.
len
=
n_args
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment