Skip to content

Commit

Permalink
Clarify func docs
Browse files Browse the repository at this point in the history
  • Loading branch information
devonh committed Jun 24, 2024
1 parent e9522f5 commit 6780061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sygnal/gcmpushkin.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ def truncate_str(input: str, max_bytes: int) -> tuple[str, bool]:
"""
Truncate the given string. If the truncation would occur in the middle of a unicode
character, that character will be removed entirely instead.
Appends a `…` character to imply the string was truncated.
Appends a `…` character to the resulting string when truncation occurs.
Args:
`input`: the string to be truncated
Expand Down

0 comments on commit 6780061

Please sign in to comment.