Skip to content

Commit

Permalink
Use Tuple instead of tuple in type signature
Browse files Browse the repository at this point in the history
  • Loading branch information
devonh committed Jun 24, 2024
1 parent 86eaa01 commit 67e320c
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 @@ -745,7 +745,7 @@ def _build_data(
return data


def truncate_str(input: str, max_bytes: int) -> tuple[str, bool]:
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.
Expand Down

0 comments on commit 67e320c

Please sign in to comment.