Skip to content

Commit e81138c

Browse files
committed
docstrings
1 parent aef15a6 commit e81138c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/textual/content.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,9 @@ def wrap(
874874
) -> list[Content]:
875875
"""Wrap text so that it fits within the given dimensions.
876876
877+
Note that Textual will automatically wrap Content in widgets.
878+
This method is only required if you need some additional processing to lines.
879+
877880
Args:
878881
width: Maximum width of the line (in cells).
879882
align: Alignment of lines.

0 commit comments

Comments
 (0)