Skip to content

Commit

Permalink
py: Remove the word "yet" from exception messages.
Browse files Browse the repository at this point in the history
These unimplemented features may never be implemented, and having the word
"yet" there takes up space.

Signed-off-by: Damien George <[email protected]>
  • Loading branch information
dpgeorge committed Dec 6, 2022
1 parent 632d43e commit a234743
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion py/argcheck.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,6 @@ NORETURN void mp_arg_error_terse_mismatch(void) {

#if MICROPY_CPYTHON_COMPAT
NORETURN void mp_arg_error_unimpl_kw(void) {
mp_raise_NotImplementedError(MP_ERROR_TEXT("keyword argument(s) not yet implemented - use normal args instead"));
mp_raise_NotImplementedError(MP_ERROR_TEXT("keyword argument(s) not implemented - use normal args instead"));
}
#endif
2 changes: 1 addition & 1 deletion py/objstr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ STATIC vstr_t mp_obj_str_format_helper(const char *str, const char *top, int *ar
arg = key_elem->value;
}
if (field_name < field_name_top) {
mp_raise_NotImplementedError(MP_ERROR_TEXT("attributes not supported yet"));
mp_raise_NotImplementedError(MP_ERROR_TEXT("attributes not supported"));
}
} else {
if (*arg_i < 0) {
Expand Down

0 comments on commit a234743

Please sign in to comment.