From a31c3f07745c608859f543bec2e7f8eb367ccb98 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Wed, 24 May 2023 14:03:09 +0100 Subject: [PATCH] Correct the Selection.__init__ docstring --- src/textual/widgets/_selection_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/widgets/_selection_list.py b/src/textual/widgets/_selection_list.py index 183fc3069..2184a875d 100644 --- a/src/textual/widgets/_selection_list.py +++ b/src/textual/widgets/_selection_list.py @@ -44,7 +44,7 @@ class Selection(Generic[SelectionType], Option): Args: prompt: The prompt for the selection. value: The value for the selection. - selected: Is this particular selection selected? + initial_state: The initial selected state of the selection. id: The optional ID for the selection. disabled: The initial enabled/disabled state. Enabled by default. """