mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user