Skip to content

Commit bf682d1

Browse files
committed
Remove native init check from stage.
It isn't needed because the object is passed in, not self. To be passed in it must be inited.
1 parent 6756821 commit bf682d1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

shared-bindings/_stage/__init__.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ STATIC mp_obj_t stage_render(size_t n_args, const mp_obj_t *args) {
8585

8686
mp_obj_t native_display = mp_instance_cast_to_native_base(args[6],
8787
&displayio_display_type);
88-
mp_obj_assert_native_inited(native_display);
8988
if (!MP_OBJ_IS_TYPE(native_display, &displayio_display_type)) {
9089
mp_raise_TypeError(translate("argument num/types mismatch"));
9190
}

0 commit comments

Comments
 (0)