Skip to content

Commit 86fc105

Browse files
fixed docstring in Static to reflect 'renderable' being renamed to 'content' (#5246)
1 parent 18ba741 commit 86fc105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual/widgets/_static.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Static(Widget, inherit_bindings=False):
3434
"""A widget to display simple static content, or use as a base class for more complex widgets.
3535
3636
Args:
37-
renderable: A Rich renderable, or string containing console markup.
37+
content: A Rich renderable, or string containing console markup.
3838
expand: Expand content if required to fill container.
3939
shrink: Shrink content if required to fill container.
4040
markup: True if markup should be parsed and rendered.

0 commit comments

Comments
 (0)