Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
24a140a4
Commit
24a140a4
authored
Mar 30, 2014
by
Paul Sokolovsky
Browse files
objexcept: Fix another place missing proper args tuple initialization.
parent
ee5ecc9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/objexcept.c
View file @
24a140a4
...
...
@@ -205,6 +205,7 @@ mp_obj_t mp_obj_new_exception_msg_varg(const mp_obj_type_t *exc_type, const char
mp_obj_exception_t
*
o
=
m_new_obj_var
(
mp_obj_exception_t
,
mp_obj_t
,
0
);
o
->
base
.
type
=
exc_type
;
o
->
traceback
=
MP_OBJ_NULL
;
o
->
args
.
base
.
type
=
&
mp_type_tuple
;
o
->
args
.
len
=
0
;
if
(
fmt
==
NULL
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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