Skip to content

Commit 5697105

Browse files
committed
Adjust doc
1 parent 3fe8b03 commit 5697105

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloudbot/util/formatting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def truncate_words(content, length=10, suffix='...'):
153153
def truncate(content, length=100, suffix='...'):
154154
"""
155155
Truncates a string after a certain number of characters.
156-
Function always truncates on a word boundary.
156+
Function always tries to truncate on a word boundary.
157157
:rtype str
158158
"""
159159
if len(content) <= length:

0 commit comments

Comments
 (0)