Better linking for the docstring for MessageSelectionType

This commit is contained in:
Dave Pearson
2023-05-24 14:32:32 +01:00
parent 64dd7d0f17
commit a32cfdbe40

View File

@@ -21,7 +21,7 @@ SelectionType = TypeVar("SelectionType")
"""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"""
"""The type for the value of a [`Selection`][textual.widgets.selection_list.Selection] in a [`SelectionList`][textual.widgets.SelectionList] message."""
class SelectionError(TypeError):