diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-01-04 00:14:13 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-01-04 00:26:31 +0200 |
commit | c1144966417de643d86286dae3189e8c0e09d9c2 (patch) | |
tree | 5ef7aa71845096848034fe2b0da247a87e152a74 /py/objstr.h | |
parent | ae58795c44bfaa5135e4b8f33dfd5777accdb9ef (diff) |
objstr: Implement kwargs support for str.format().
Diffstat (limited to 'py/objstr.h')
-rw-r--r-- | py/objstr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstr.h b/py/objstr.h index 8894c267e..5128a005f 100644 --- a/py/objstr.h +++ b/py/objstr.h @@ -55,7 +55,7 @@ typedef struct _mp_obj_str_t { else { str_len = ((mp_obj_str_t*)str_obj_in)->len; str_data = ((mp_obj_str_t*)str_obj_in)->data; } void mp_str_print_json(void (*print)(void *env, const char *fmt, ...), void *env, const byte *str_data, mp_uint_t str_len); -mp_obj_t mp_obj_str_format(mp_uint_t n_args, const mp_obj_t *args); +mp_obj_t mp_obj_str_format(mp_uint_t n_args, const mp_obj_t *args, mp_map_t *kwargs); mp_obj_t mp_obj_new_str_of_type(const mp_obj_type_t *type, const byte* data, mp_uint_t len); mp_obj_t mp_obj_str_binary_op(mp_uint_t op, mp_obj_t lhs_in, mp_obj_t rhs_in); |