mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 19:50:30 +01:00
all: Use MP_ERROR_TEXT for all error messages.
This commit is contained in:
committed by
Damien George
parent
85858e72df
commit
def76fe4d9
@@ -202,7 +202,7 @@ mp_obj_t mp_seq_index_obj(const mp_obj_t *items, size_t len, size_t n_args, cons
|
||||
}
|
||||
}
|
||||
|
||||
mp_raise_ValueError("object not in sequence");
|
||||
mp_raise_ValueError(MP_ERROR_TEXT("object not in sequence"));
|
||||
}
|
||||
|
||||
mp_obj_t mp_seq_count_obj(const mp_obj_t *items, size_t len, mp_obj_t value) {
|
||||
|
||||
Reference in New Issue
Block a user