Merge pull request #2409 from TomJGooding/fix-switch-correct-attribute-name-in-changed-docstring

fix(switch): correct attribute in changed docstring
This commit is contained in:
Dave Pearson
2023-04-27 18:59:19 +01:00
committed by GitHub

View File

@@ -88,7 +88,7 @@ class Switch(Widget, can_focus=True):
Attributes: Attributes:
value: The value that the switch was changed to. value: The value that the switch was changed to.
input: The `Switch` widget that was changed. switch: The `Switch` widget that was changed.
""" """
def __init__(self, switch: Switch, value: bool) -> None: def __init__(self, switch: Switch, value: bool) -> None: