diff --git a/src/textual/widgets/_selection_list.py b/src/textual/widgets/_selection_list.py index fa126b785..dbe6a656b 100644 --- a/src/textual/widgets/_selection_list.py +++ b/src/textual/widgets/_selection_list.py @@ -260,7 +260,7 @@ class SelectionList(Generic[SelectionType], OptionList): """Post a message that the selected collection has changed, where appropriate. Note: - A message will only be send if `_send_messages` is `True`. This + A message will only be sent if `_send_messages` is `True`. This makes this safe to call before the widget is ready for posting messages. """ @@ -387,7 +387,7 @@ class SelectionList(Generic[SelectionType], OptionList): value: The value to toggle. Returns: - Always `True`. + `True`. """ if value in self._selected: self._deselect(value)