Skip to content

Commit b0ea28a

Browse files
committed
Doc fix for root_group=None behaviour
1 parent d078bc3 commit b0ea28a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

shared-bindings/displayio/Display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ MP_PROPERTY_GETTER(displayio_display_bus_obj,
426426

427427
//| root_group: Group
428428
//| """The root group on the display.
429-
//| If the root group is set to ``None``, the default CircuitPython terminal will be shown.
429+
//| If the root group is set to ``None``, no output will be shown.
430430
//| """
431431
STATIC mp_obj_t displayio_display_obj_get_root_group(mp_obj_t self_in) {
432432
displayio_display_obj_t *self = native_display(self_in);

shared-bindings/displayio/EPaperDisplay.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ MP_PROPERTY_GETTER(displayio_epaperdisplay_bus_obj,
384384

385385
//| root_group: Group
386386
//| """The root group on the epaper display.
387-
//| If the root group is set to ``None``, the default CircuitPython terminal will be shown.
387+
//| If the root group is set to ``None``, no output will be shown.
388388
//| """
389389
//|
390390
STATIC mp_obj_t displayio_epaperdisplay_obj_get_root_group(mp_obj_t self_in) {

shared-bindings/framebufferio/FramebufferDisplay.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,9 @@ STATIC mp_obj_t framebufferio_framebufferdisplay_obj_fill_row(size_t n_args, con
323323
MP_DEFINE_CONST_FUN_OBJ_KW(framebufferio_framebufferdisplay_fill_row_obj, 1, framebufferio_framebufferdisplay_obj_fill_row);
324324

325325
//| root_group: displayio.Group
326-
//| """The root group on the display."""
327-
//|
326+
//| """The root group on the display.
327+
//| If the root group is set to ``None``, no output will be shown.
328+
//| """
328329
STATIC mp_obj_t framebufferio_framebufferdisplay_obj_get_root_group(mp_obj_t self_in) {
329330
framebufferio_framebufferdisplay_obj_t *self = native_display(self_in);
330331
return common_hal_framebufferio_framebufferdisplay_get_root_group(self);

0 commit comments

Comments
 (0)