From 6321a1227b4d762707faa05671f4d51066c79bd0 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Mon, 2 Oct 2023 13:57:17 -0700 Subject: [PATCH] Attempt #2 to fix cryptic error message --- displayio/_display.py | 3 +-- displayio/_epaperdisplay.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/displayio/_display.py b/displayio/_display.py index 0a82e6e..035784e 100644 --- a/displayio/_display.py +++ b/displayio/_display.py @@ -245,13 +245,12 @@ class Display: def show(self, group: Group) -> None: """ .. note:: `show()` is deprecated and will be removed when CircuitPython 9.0.0 - is released. Use ``.root_group = group`` instead. + is released. Use ``.root_group = group`` instead. Switches to displaying the given group of layers. When group is None, the default CircuitPython terminal will be shown. :param Group group: The group to show. - """ if group is None: group = circuitpython_splash diff --git a/displayio/_epaperdisplay.py b/displayio/_epaperdisplay.py index 6ea80f7..6ce0664 100644 --- a/displayio/_epaperdisplay.py +++ b/displayio/_epaperdisplay.py @@ -250,7 +250,7 @@ class EPaperDisplay: # pylint: disable=unnecessary-pass """ .. note:: `show()` is deprecated and will be removed when CircuitPython 9.0.0 - is released. Use ``.root_group = group`` instead. + is released. Use ``.root_group = group`` instead. Switches to displaying the given group of layers. When group is None, the default CircuitPython terminal will be shown (eventually). -- 2.49.0