Skip to content

Commit f5ee4d9

Browse files
committed
cc3200/moduos: Remove uos.sep, as it's strictly optional.
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).
1 parent f615d82 commit f5ee4d9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cc3200/mods/moduos.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,6 @@ STATIC const mp_map_elem_t os_module_globals_table[] = {
173173
{ MP_OBJ_NEW_QSTR(MP_QSTR_umount), (mp_obj_t)&mp_vfs_umount_obj },
174174
{ MP_OBJ_NEW_QSTR(MP_QSTR_VfsFat), (mp_obj_t)&mp_fat_vfs_type },
175175
{ MP_OBJ_NEW_QSTR(MP_QSTR_dupterm), (mp_obj_t)&os_dupterm_obj },
176-
177-
/// \constant sep - separation character used in paths
178-
{ MP_OBJ_NEW_QSTR(MP_QSTR_sep), MP_OBJ_NEW_QSTR(MP_QSTR__slash_) },
179176
};
180177

181178
STATIC MP_DEFINE_CONST_DICT(os_module_globals, os_module_globals_table);

0 commit comments

Comments
 (0)