summaryrefslogtreecommitdiff
path: root/py/parsenum.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-21 11:45:46 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-21 11:45:46 +0000
commit6e48f7fa856e4acaf085dfc8876c4e3772d979c2 (patch)
tree46c65f64490eae2818fbf9bf334a558453be9e88 /py/parsenum.h
parentc06ea7abf249765bf93595fc42656eed585d7a47 (diff)
py: Allow 'complex()' to take a string as first argument.
Diffstat (limited to 'py/parsenum.h')
-rw-r--r--py/parsenum.h2
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);