Skip to content

Commit

Permalink
cc3200/moduos: Remove uos.sep, as it's strictly optional.
Browse files Browse the repository at this point in the history
In MicroPython, the path separator is guaranteed to be "/", extra unneeded
things take precious code space (in the port which doesn't have basic things
like floating-port support).
  • Loading branch information
pfalcon committed Feb 24, 2017
1 parent f615d82 commit f5ee4d9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cc3200/mods/moduos.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ STATIC const mp_map_elem_t os_module_globals_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_umount), (mp_obj_t)&mp_vfs_umount_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_VfsFat), (mp_obj_t)&mp_fat_vfs_type },
{ MP_OBJ_NEW_QSTR(MP_QSTR_dupterm), (mp_obj_t)&os_dupterm_obj },

/// \constant sep - separation character used in paths
{ MP_OBJ_NEW_QSTR(MP_QSTR_sep), MP_OBJ_NEW_QSTR(MP_QSTR__slash_) },
};

STATIC MP_DEFINE_CONST_DICT(os_module_globals, os_module_globals_table);
Expand Down

0 comments on commit f5ee4d9

Please sign in to comment.