gettext.install: names is kw-only in 3.11 (#7908)

This commit is contained in:
Jelle Zijlstra
2022-05-21 08:22:34 -07:00
committed by GitHub
parent 8b58371278
commit 9c0c631e46
2 changed files with 1 additions and 2 deletions

View File

@@ -137,7 +137,7 @@ if sys.version_info >= (3, 11):
class_: type[Any] = ...,
fallback: Literal[True] = ...,
) -> Any: ...
def install(domain: str, localedir: StrPath | None = ..., names: Container[str] | None = ...) -> None: ...
def install(domain: str, localedir: StrPath | None = ..., *, names: Container[str] | None = ...) -> None: ...
else:
@overload