Skip to content

Commit 356ce4f

Browse files
authored
Merge pull request #3383 from davep/text-area-theme-type-tweak
Don't document `TextArea` `language` and `theme` twice
2 parents c8b388c + 75bb733 commit 356ce4f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/textual/widgets/_text_area.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,10 +305,8 @@ def __init__(
305305
corresponding `TextAreaTheme` object."""
306306

307307
self.language = language
308-
"""The language of the `TextArea`."""
309308

310-
self.theme: str | None = theme
311-
"""The name of the theme of the `TextArea` as set by the user."""
309+
self.theme = theme
312310

313311
@staticmethod
314312
def _get_builtin_highlight_query(language_name: str) -> str:

0 commit comments

Comments
 (0)