diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-05-14 10:20:04 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-05-14 10:20:04 -0700 |
| commit | bf682d14b33a3bc6b1934391017bcfbcad782e41 (patch) | |
| tree | 93c3eb7ab7f5e42b1ac208fcd85bbeda0cecfa5d | |
| parent | 6756821fd98b8a54f8c46578a0de406483d3895f (diff) | |
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.
| -rw-r--r-- | shared-bindings/_stage/__init__.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/shared-bindings/_stage/__init__.c b/shared-bindings/_stage/__init__.c index be8315efe..03775b1de 100644 --- a/shared-bindings/_stage/__init__.c +++ b/shared-bindings/_stage/__init__.c @@ -85,7 +85,6 @@ STATIC mp_obj_t stage_render(size_t n_args, const mp_obj_t *args) { mp_obj_t native_display = mp_instance_cast_to_native_base(args[6], &displayio_display_type); - mp_obj_assert_native_inited(native_display); if (!MP_OBJ_IS_TYPE(native_display, &displayio_display_type)) { mp_raise_TypeError(translate("argument num/types mismatch")); } |
