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

View File

@@ -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