summaryrefslogtreecommitdiff
path: root/py/objfloat.c
diff options
context:
space:
mode:
authorJuan Biondi <juanernestobiondi@gmail.com>2019-03-27 19:55:23 +0100
committerGitHub <noreply@github.com>2019-03-27 19:55:23 +0100
commitf6892ce3ff71b3f142d7a3f50e7137907708e0e7 (patch)
treedd9beeb504d2601772b7dc39d4e54c0f1b3c50bd /py/objfloat.c
parent948cc03031d6e13f2212758b596f9e152684d3c5 (diff)
parent94822ee2088960e6f68c9d4f05606cdb47c9ba5c (diff)
Merge pull request #4 from adafruit/master
Get latest changes to translate
Diffstat (limited to 'py/objfloat.c')
-rw-r--r--py/objfloat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objfloat.c b/py/objfloat.c
index c3f47018c..f544ade05 100644
--- a/py/objfloat.c
+++ b/py/objfloat.c
@@ -133,9 +133,9 @@ STATIC void float_print(const mp_print_t *print, mp_obj_t o_in, mp_print_kind_t
}
}
-STATIC mp_obj_t float_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 float_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, 1, false);
+ mp_arg_check_num(n_args, kw_args, 0, 1, false);
switch (n_args) {
case 0: