diff options
author | Damien George <damien.p.george@gmail.com> | 2014-03-21 11:45:46 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-03-21 11:45:46 +0000 |
commit | 6e48f7fa856e4acaf085dfc8876c4e3772d979c2 (patch) | |
tree | 46c65f64490eae2818fbf9bf334a558453be9e88 /py/parsenum.h | |
parent | c06ea7abf249765bf93595fc42656eed585d7a47 (diff) |
py: Allow 'complex()' to take a string as first argument.
Diffstat (limited to 'py/parsenum.h')
-rw-r--r-- | py/parsenum.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/parsenum.h b/py/parsenum.h index f87fefbe7..97578423c 100644 --- a/py/parsenum.h +++ b/py/parsenum.h @@ -1,2 +1,2 @@ mp_obj_t mp_parse_num_integer(const char *restrict str, uint len, int base); -mp_obj_t mp_parse_num_decimal(const char *str, uint len, bool allow_imag); +mp_obj_t mp_parse_num_decimal(const char *str, uint len, bool allow_imag, bool force_complex); |