py: Allow 'complex()' to take a string as first argument.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user