summaryrefslogtreecommitdiff
path: root/py/objcomplex.c
diff options
context:
space:
mode:
authorRoy Hooper <rhooper@toybox.ca>2019-01-19 16:33:59 -0500
committerRoy Hooper <rhooper@toybox.ca>2019-01-19 16:33:59 -0500
commit50af08a6f38f7bff3eb23e98f1c7e424db740eb2 (patch)
tree760c06b5497c225dd9945933484b8080ec21db26 /py/objcomplex.c
parentbe9caeb9150df3ff8a30b2e7ab20f32b7fc9b5f7 (diff)
parentd2a7cd6c5aac4ef01b4503409a4bf47d4cdf31c3 (diff)
Merge branch 'master' into pixelbuf
Diffstat (limited to 'py/objcomplex.c')
-rw-r--r--py/objcomplex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objcomplex.c b/py/objcomplex.c
index 3336d7b05..b38e2c5fa 100644
--- a/py/objcomplex.c
+++ b/py/objcomplex.c
@@ -75,9 +75,9 @@ STATIC void complex_print(const mp_print_t *print, mp_obj_t o_in, mp_print_kind_
}
}
-STATIC mp_obj_t complex_make_new(const mp_obj_type_t *type_in, size_t n_args, size_t n_kw, const mp_obj_t *args) {
+STATIC mp_obj_t complex_make_new(const mp_obj_type_t *type_in, size_t n_args, const mp_obj_t *args, mp_map_t *kw_args) {
(void)type_in;
- mp_arg_check_num(n_args, n_kw, 0, 2, false);
+ mp_arg_check_num(n_args, kw_args, 0, 2, false);
switch (n_args) {
case 0: