mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-29 22:32:11 +08:00
gettext.install: names is kw-only in 3.11 (#7908)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user