Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
RootShinobi committed Dec 25, 2023
1 parent f77460e commit 34e6857
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions aiogram_i18n/utils/stub_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ def __str__(self) -> str:
if params and self.kw_only:
params.insert(0, "*")
params.insert(0, "self")
return (
f"def {self.name.replace('-', '_')}({', '.join(params)}) -> str: ..."
)
return f"def {self.name.replace('-', '_')}({', '.join(params)}) -> str: ..."

__repr__ = __str__

Expand Down

0 comments on commit 34e6857

Please sign in to comment.