From 6dfe017c529a4fc1028ed1563fb6589c929c0009 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Wed, 13 Sep 2023 16:51:40 +0100 Subject: [PATCH] Remove the docstring for OptionList.DEFAULT_CSS We really don't need to document anything like this, I'll have done it by habit, and having it there pulls it into the docs which then pollutes the search results if someone is searching for what DEFAULT_CSS is all about. --- src/textual/widgets/_option_list.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/textual/widgets/_option_list.py b/src/textual/widgets/_option_list.py index 74c89fb20..60a804287 100644 --- a/src/textual/widgets/_option_list.py +++ b/src/textual/widgets/_option_list.py @@ -245,7 +245,6 @@ class OptionList(ScrollView, can_focus=True): background: $accent 60%; } """ - """The default styling for an `OptionList`.""" highlighted: reactive[int | None] = reactive["int | None"](None) """The index of the currently-highlighted option, or `None` if no option is highlighted."""