From a2347433b01cb58468da51792e7e0229ebe6453d Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 6 Dec 2022 13:34:52 +1100 Subject: [PATCH] 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 --- py/argcheck.c | 2 +- py/objstr.c | 2 +- 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) {