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)
|
prompt = Text.from_markup(prompt)
|
||||||
super().__init__(prompt.split()[0], id, disabled)
|
super().__init__(prompt.split()[0], id, disabled)
|
||||||
self._value: SelectionType = value
|
self._value: SelectionType = value
|
||||||
|
"""The value associated with the selection."""
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def value(self) -> SelectionType:
|
def value(self) -> SelectionType:
|
||||||
|
|||||||
Reference in New Issue
Block a user