From c063c3ecdf553e068f0dd12d7bea87199fa90356 Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Thu, 27 Apr 2023 18:42:46 +0100 Subject: [PATCH] fix(switch): correct attribute in Changed docstring --- src/textual/widgets/_switch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/widgets/_switch.py b/src/textual/widgets/_switch.py index 8542f5404..e66acd1d8 100644 --- a/src/textual/widgets/_switch.py +++ b/src/textual/widgets/_switch.py @@ -88,7 +88,7 @@ class Switch(Widget, can_focus=True): Attributes: 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: