Doc fix for root_group=None behaviour

This commit is contained in:
RetiredWizard 2023-04-23 00:33:14 -04:00
parent d078bc3ae1
commit b0ea28a031
3 changed files with 5 additions and 4 deletions

View File

@ -426,7 +426,7 @@ MP_PROPERTY_GETTER(displayio_display_bus_obj,
//| root_group: Group
//| """The root group on the display.
//| If the root group is set to ``None``, the default CircuitPython terminal will be shown.
//| If the root group is set to ``None``, no output will be shown.
//| """
STATIC mp_obj_t displayio_display_obj_get_root_group(mp_obj_t self_in) {
displayio_display_obj_t *self = native_display(self_in);

View File

@ -384,7 +384,7 @@ MP_PROPERTY_GETTER(displayio_epaperdisplay_bus_obj,
//| root_group: Group
//| """The root group on the epaper display.
//| If the root group is set to ``None``, the default CircuitPython terminal will be shown.
//| If the root group is set to ``None``, no output will be shown.
//| """
//|
STATIC mp_obj_t displayio_epaperdisplay_obj_get_root_group(mp_obj_t self_in) {

View File

@ -323,8 +323,9 @@ STATIC mp_obj_t framebufferio_framebufferdisplay_obj_fill_row(size_t n_args, con
MP_DEFINE_CONST_FUN_OBJ_KW(framebufferio_framebufferdisplay_fill_row_obj, 1, framebufferio_framebufferdisplay_obj_fill_row);
//| root_group: displayio.Group
//| """The root group on the display."""
//|
//| """The root group on the display.
//| If the root group is set to ``None``, no output will be shown.
//| """
STATIC mp_obj_t framebufferio_framebufferdisplay_obj_get_root_group(mp_obj_t self_in) {
framebufferio_framebufferdisplay_obj_t *self = native_display(self_in);
return common_hal_framebufferio_framebufferdisplay_get_root_group(self);