From d5799377a2988796dcd8c47ff89819df5d23797e Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Tue, 23 May 2023 11:31:07 +0100 Subject: [PATCH] Document _selected It's not for public consumption, but it's useful for anyone reading the code. --- src/textual/widgets/_selection_list.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/textual/widgets/_selection_list.py b/src/textual/widgets/_selection_list.py index 732e97409..1075f4918 100644 --- a/src/textual/widgets/_selection_list.py +++ b/src/textual/widgets/_selection_list.py @@ -208,6 +208,7 @@ class SelectionList(Generic[SelectionType], OptionList): disabled: Whether the selection list is disabled or not. """ self._selected: dict[SelectionType, None] = {} + """Tracking of which values are selected.""" super().__init__( *[self._make_selection(selection) for selection in selections], name=name,