]> Repositories - hackapet/Adafruit_Blinka_Displayio.git/commitdiff
Attempt #2 to fix cryptic error message
authorMelissa LeBlanc-Williams <melissa@adafruit.com>
Mon, 2 Oct 2023 20:57:17 +0000 (13:57 -0700)
committerMelissa LeBlanc-Williams <melissa@adafruit.com>
Mon, 2 Oct 2023 20:57:17 +0000 (13:57 -0700)
displayio/_display.py
displayio/_epaperdisplay.py

index 0a82e6e90b7ff842e3c4644be985e8150ef15754..035784efb2f6f8a74aca8793a95da56ff4004a21 100644 (file)
@@ -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
     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.
 
         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
         """
         if group is None:
             group = circuitpython_splash
index 6ea80f70fc8353ff0c1a48b3cfdee9b3bcf0abd2..6ce0664be468bd123db42251e7a76fcf23f52f69 100644 (file)
@@ -250,7 +250,7 @@ class EPaperDisplay:
         # pylint: disable=unnecessary-pass
         """
         .. note:: `show()` is deprecated and will be removed when CircuitPython 9.0.0
         # 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).
 
         Switches to displaying the given group of layers. When group is None, the default
         CircuitPython terminal will be shown (eventually).