Document _selected

It's not for public consumption, but it's useful for anyone reading the code.
This commit is contained in:
Dave Pearson
2023-05-23 11:31:07 +01:00
parent bee438bc53
commit d5799377a2

View File

@@ -208,6 +208,7 @@ class SelectionList(Generic[SelectionType], OptionList):
disabled: Whether the selection list is disabled or not. disabled: Whether the selection list is disabled or not.
""" """
self._selected: dict[SelectionType, None] = {} self._selected: dict[SelectionType, None] = {}
"""Tracking of which values are selected."""
super().__init__( super().__init__(
*[self._make_selection(selection) for selection in selections], *[self._make_selection(selection) for selection in selections],
name=name, name=name,