summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-12-06 13:34:52 +1100
committerDamien George <damien@micropython.org>2022-12-06 13:34:52 +1100
commita2347433b01cb58468da51792e7e0229ebe6453d (patch)
treef13a195e65aa8111796195d2bfc189d4a973ae5d
parent632d43ed44afec4c3dd16429077fe6505bf2733d (diff)
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 <damien@micropython.org>
-rw-r--r--py/argcheck.c2
-rw-r--r--py/objstr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/py/argcheck.c b/py/argcheck.c
index ffcca4cb6..35b116ec0 100644
--- a/py/argcheck.c
+++ b/py/argcheck.c
@@ -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
diff --git a/py/objstr.c b/py/objstr.c
index bd3e16e7f..4d9dca04a 100644
--- a/py/objstr.c
+++ b/py/objstr.c
@@ -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) {