mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add a docstring to the internal copy of the selection value
This commit is contained in:
@@ -51,6 +51,7 @@ class Selection(Generic[SelectionType], Option):
|
||||
prompt = Text.from_markup(prompt)
|
||||
super().__init__(prompt.split()[0], id, disabled)
|
||||
self._value: SelectionType = value
|
||||
"""The value associated with the selection."""
|
||||
|
||||
@property
|
||||
def value(self) -> SelectionType:
|
||||
|
||||
Reference in New Issue
Block a user