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
7917b731
Commit
7917b731
authored
May 01, 2014
by
Paul Sokolovsky
Browse files
objfun: More debug logging.
parent
5ba58f4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/objfun.c
View file @
7917b731
...
...
@@ -182,6 +182,8 @@ STATIC NORETURN void fun_pos_args_mismatch(mp_obj_fun_bc_t *f, uint expected, ui
bool
mp_obj_fun_prepare_simple_args
(
mp_obj_t
self_in
,
uint
n_args
,
uint
n_kw
,
const
mp_obj_t
*
args
,
uint
*
out_args1_len
,
const
mp_obj_t
**
out_args1
,
uint
*
out_args2_len
,
const
mp_obj_t
**
out_args2
)
{
mp_obj_fun_bc_t
*
self
=
self_in
;
DEBUG_printf
(
"mp_obj_fun_prepare_simple_args: given: %d pos, %d kw, expected: %d pos (%d default)
\n
"
,
n_args
,
n_kw
,
self
->
n_pos_args
,
self
->
n_def_args
);
assert
(
n_kw
==
0
);
assert
(
self
->
n_kwonly_args
==
0
);
...
...
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