mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +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
|
||||
|
||||
Reference in New Issue
Block a user