File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ Q(NameError)
3030Q (SyntaxError )
3131Q (TypeError )
3232Q (ValueError )
33+ Q (OSError )
3334
3435Q (abs )
3536Q (all )
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ void rt_init(void) {
8484 mp_qstr_map_lookup (& map_builtins , MP_QSTR_TypeError , true)-> value = mp_obj_new_exception (MP_QSTR_TypeError );
8585 mp_qstr_map_lookup (& map_builtins , MP_QSTR_SyntaxError , true)-> value = mp_obj_new_exception (MP_QSTR_SyntaxError );
8686 mp_qstr_map_lookup (& map_builtins , MP_QSTR_ValueError , true)-> value = mp_obj_new_exception (MP_QSTR_ValueError );
87+ mp_qstr_map_lookup (& map_builtins , MP_QSTR_OSError , true)-> value = mp_obj_new_exception (MP_QSTR_OSError );
8788
8889 // built-in objects
8990 mp_qstr_map_lookup (& map_builtins , MP_QSTR_Ellipsis , true)-> value = mp_const_ellipsis ;
You can’t perform that action at this time.
0 commit comments