diff --git a/stdlib/gettext.pyi b/stdlib/gettext.pyi index 9691aeac7..d0141c63b 100644 --- a/stdlib/gettext.pyi +++ b/stdlib/gettext.pyi @@ -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 diff --git a/tests/stubtest_allowlists/py311.txt b/tests/stubtest_allowlists/py311.txt index 3c4825920..5fcb93af0 100644 --- a/tests/stubtest_allowlists/py311.txt +++ b/tests/stubtest_allowlists/py311.txt @@ -51,7 +51,6 @@ fractions.Fraction.__int__ fractions.Fraction.__new__ # overload is too complicated for stubtest to resolve ftplib.FTP.trust_server_pasv_ipv4_address functools.partial.__vectorcalloffset__ -gettext.install importlib.resources.Resource inspect._ParameterKind.description ipaddress.IPv4Interface.hostmask