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>
This commit is contained in:
parent
632d43ed44
commit
a2347433b0
@ -143,6 +143,6 @@ NORETURN void mp_arg_error_terse_mismatch(void) {
|
|||||||
|
|
||||||
#if MICROPY_CPYTHON_COMPAT
|
#if MICROPY_CPYTHON_COMPAT
|
||||||
NORETURN void mp_arg_error_unimpl_kw(void) {
|
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
|
#endif
|
||||||
|
@ -1118,7 +1118,7 @@ STATIC vstr_t mp_obj_str_format_helper(const char *str, const char *top, int *ar
|
|||||||
arg = key_elem->value;
|
arg = key_elem->value;
|
||||||
}
|
}
|
||||||
if (field_name < field_name_top) {
|
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 {
|
} else {
|
||||||
if (*arg_i < 0) {
|
if (*arg_i < 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user