Better linking for the docstring for SelectionType

This commit is contained in:
Dave Pearson
2023-05-24 14:31:50 +01:00
parent 2874b24a87
commit 64dd7d0f17

View File

@@ -18,7 +18,7 @@ from ._option_list import NewOptionListContent, Option, OptionList
from ._toggle_button import ToggleButton
SelectionType = TypeVar("SelectionType")
"""The type for the value of a `Selection`"""
"""The type for the value of a [`Selection`][textual.widgets.selection_list.Selection] in a [`SelectionList`][textual.widgets.SelectionList]"""
MessageSelectionType = TypeVar("MessageSelectionType")
"""The type for the value of a `SelectionList` message"""