diff options
author | Damien George <damien.p.george@gmail.com> | 2015-01-28 14:14:57 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-01-28 14:14:57 +0000 |
commit | 98e3a64694b63b90a590b6effc6e8ef53f66159a (patch) | |
tree | e6a14bc6f95256d08fba7bcf28e9feb81b71822a /py/objstr.c | |
parent | 16677ce311fd70162cc9f7cfe2ab97461df765fc (diff) |
py: Remove duplicated mp_obj_str_make_new function from objstrunicode.c.
Diffstat (limited to 'py/objstr.c')
-rw-r--r-- | py/objstr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/py/objstr.c b/py/objstr.c index f5a577552..5cd0f284e 100644 --- a/py/objstr.c +++ b/py/objstr.c @@ -130,7 +130,6 @@ STATIC void str_print(void (*print)(void *env, const char *fmt, ...), void *env, } } -#if !MICROPY_PY_BUILTINS_STR_UNICODE mp_obj_t mp_obj_str_make_new(mp_obj_t type_in, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) { #if MICROPY_CPYTHON_COMPAT if (n_kw != 0) { @@ -167,7 +166,6 @@ mp_obj_t mp_obj_str_make_new(mp_obj_t type_in, mp_uint_t n_args, mp_uint_t n_kw, } } } -#endif STATIC mp_obj_t bytes_make_new(mp_obj_t type_in, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) { (void)type_in; |