Skip to content

Commit

Permalink
fix: Third argument for ngettext_lazy is optional (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
last-partizan authored Mar 1, 2025
1 parent 062b1bf commit 1638dd0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion django-stubs/utils/translation/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ gettext_lazy = gettext
ugettext_lazy = ugettext
pgettext_lazy = pgettext

def ngettext_lazy(singular: str, plural: str, number: int | str | None) -> str: ...
def ngettext_lazy(
singular: str, plural: str, number: int | str | None = ...
) -> str: ...

ungettext_lazy = ngettext_lazy

Expand Down

0 comments on commit 1638dd0

Please sign in to comment.