Skip to content

Commit a234743

Browse files
committed
py: Remove the word "yet" from exception messages.
These unimplemented features may never be implemented, and having the word "yet" there takes up space. Signed-off-by: Damien George <[email protected]>
1 parent 632d43e commit a234743

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

py/argcheck.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,6 @@ NORETURN void mp_arg_error_terse_mismatch(void) {
143143

144144
#if MICROPY_CPYTHON_COMPAT
145145
NORETURN void mp_arg_error_unimpl_kw(void) {
146-
mp_raise_NotImplementedError(MP_ERROR_TEXT("keyword argument(s) not yet implemented - use normal args instead"));
146+
mp_raise_NotImplementedError(MP_ERROR_TEXT("keyword argument(s) not implemented - use normal args instead"));
147147
}
148148
#endif

py/objstr.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ STATIC vstr_t mp_obj_str_format_helper(const char *str, const char *top, int *ar
11181118
arg = key_elem->value;
11191119
}
11201120
if (field_name < field_name_top) {
1121-
mp_raise_NotImplementedError(MP_ERROR_TEXT("attributes not supported yet"));
1121+
mp_raise_NotImplementedError(MP_ERROR_TEXT("attributes not supported"));
11221122
}
11231123
} else {
11241124
if (*arg_i < 0) {

0 commit comments

Comments
 (0)