Skip to content

Commit db74b92

Browse files
committed
Fix displayio.Display docstring type for display_bus.
Add docs for group parameter for Display.show.
1 parent d852d0f commit db74b92

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

shared-bindings/displayio/Display.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@
7878
//| The initialization sequence should always leave the display memory access inline with the scan
7979
//| of the display to minimize tearing artifacts.
8080
//|
81-
//| :param displayio.FourWire or displayio.ParallelBus display_bus: The bus that the display is connected to
81+
//| :param display_bus: The bus that the display is connected to
82+
//| :type display_bus: displayio.FourWire or displayio.ParallelBus
8283
//| :param buffer init_sequence: Byte-packed initialization sequence.
8384
//| :param int width: Width in pixels
8485
//| :param int height: Height in pixels
@@ -182,6 +183,7 @@ static displayio_display_obj_t* native_display(mp_obj_t display_obj) {
182183
//| Switches to displaying the given group of layers. When group is None, the default
183184
//| CircuitPython terminal will be shown.
184185
//|
186+
//| :param Group group: The group to show.
185187
STATIC mp_obj_t displayio_display_obj_show(mp_obj_t self_in, mp_obj_t group_in) {
186188
displayio_display_obj_t *self = native_display(self_in);
187189
displayio_group_t* group = NULL;

0 commit comments

Comments
 (0)