Added type hints

Co-authored-by: Scott Shawcroft <scott@tannewt.org>
This commit is contained in:
amit-sides 2021-08-26 20:44:27 +03:00 committed by GitHub
parent 98f026fbb4
commit 24fcc3f955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -217,7 +217,7 @@ STATIC mp_obj_t displayio_epaperdisplay_obj_show(mp_obj_t self_in, mp_obj_t grou
}
MP_DEFINE_CONST_FUN_OBJ_2(displayio_epaperdisplay_show_obj, displayio_epaperdisplay_obj_show);
//| def update_refresh_mode(self, start_sequence, seconds_per_frame) -> None:
//| def update_refresh_mode(self, start_sequence: ReadableBuffer, seconds_per_frame: float = 180) -> None:
//| """Sets the ``start_sequence`` and ``seconds_per_frame`` parameters to enable
//| quicker refresh modes of the display."""
//|