Skip to content

Commit 7aab3e8

Browse files
committed
Re-use an error message in _stage
1 parent 0599286 commit 7aab3e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared-bindings/_stage/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ STATIC mp_obj_t stage_render(size_t n_args, const mp_obj_t *args) {
8484
size_t buffer_size = bufinfo.len / 2; // 16-bit indexing
8585

8686
if (!MP_OBJ_IS_TYPE(args[6], &displayio_display_type)) {
87-
mp_raise_TypeError(translate("expected displayio.Display"));
87+
mp_raise_TypeError(translate("argument num/types mismatch"));
8888
}
8989
displayio_display_obj_t *display = MP_OBJ_TO_PTR(args[6]);
9090

0 commit comments

Comments
 (0)