Skip to content

Commit 990e9ce

Browse files
committed
docs(button): remove duplicate line in docstrings
Remove duplicate `disabled` line in the Button utility constructor docstrings.
1 parent e9a9bfe commit 990e9ce

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/textual/widgets/_button.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ def success(
398398
399399
Args:
400400
label: The text that appears within the button.
401-
disabled: Whether the button is disabled or not.
402401
name: The name of the button.
403402
id: The ID of the button in the DOM.
404403
classes: The CSS classes of the button.
@@ -434,7 +433,6 @@ def warning(
434433
435434
Args:
436435
label: The text that appears within the button.
437-
disabled: Whether the button is disabled or not.
438436
name: The name of the button.
439437
id: The ID of the button in the DOM.
440438
classes: The CSS classes of the button.
@@ -470,7 +468,6 @@ def error(
470468
471469
Args:
472470
label: The text that appears within the button.
473-
disabled: Whether the button is disabled or not.
474471
name: The name of the button.
475472
id: The ID of the button in the DOM.
476473
classes: The CSS classes of the button.

0 commit comments

Comments
 (0)