diff options
author | ian-v <ianv888@gmail.com> | 2014-01-06 14:14:11 -0800 |
---|---|---|
committer | ian-v <ianv888@gmail.com> | 2014-01-06 14:14:11 -0800 |
commit | a5a01df81d01705b9f04264cc46fbb1bc32641b3 (patch) | |
tree | d8ff633e9934ff316fe0c6cd8940b144ff0c1d03 /py/objstr.c | |
parent | 5fd8fd2c16076f683b629b513e8865e461d4c9a8 (diff) | |
download | micropython-a5a01df81d01705b9f04264cc46fbb1bc32641b3.tar.gz micropython-a5a01df81d01705b9f04264cc46fbb1bc32641b3.zip |
Make list and str method tables static
Diffstat (limited to 'py/objstr.c')
-rw-r--r-- | py/objstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstr.c b/py/objstr.c index 08e3793916..66041c587f 100644 --- a/py/objstr.c +++ b/py/objstr.c @@ -184,7 +184,7 @@ mp_obj_t str_format(int n_args, const mp_obj_t *args) { static MP_DEFINE_CONST_FUN_OBJ_2(str_join_obj, str_join); static MP_DEFINE_CONST_FUN_OBJ_VAR(str_format_obj, 1, str_format); -const mp_method_t str_type_methods[] = { +static const mp_method_t str_type_methods[] = { { "join", &str_join_obj }, { "format", &str_format_obj }, { NULL, NULL }, // end-of-list sentinel |