mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-17 11:31:25 +08:00
Stdlib: add container default values (#9909)
This commit is contained in:
1 parent
151159709d
commit
dd2818a41d
66 files changed
+246
-242
No files matched your search
+1
-1
@@ -53,7 +53,7 @@ class WeakValueDictionary(MutableMapping[_KT, _VT]):
|
||||
def __init__(self: WeakValueDictionary[_KT, _VT], __other: Mapping[_KT, _VT] | Iterable[tuple[_KT, _VT]]) -> None: ...
|
||||
@overload
|
||||
def __init__(
|
||||
self: WeakValueDictionary[str, _VT], __other: Mapping[str, _VT] | Iterable[tuple[str, _VT]] = ..., **kwargs: _VT
|
||||
self: WeakValueDictionary[str, _VT], __other: Mapping[str, _VT] | Iterable[tuple[str, _VT]] = (), **kwargs: _VT
|
||||
) -> None: ...
|
||||
def __len__(self) -> int: ...
|
||||
def __getitem__(self, key: _KT) -> _VT: ...
|
||||
|
||||
Reference in new issue
Block a user