mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Annotate copy for MappingProxyType (#2955)
This commit is contained in:
committed by
Jelle Zijlstra
parent
c4b249c9a8
commit
54069f4341
@@ -77,6 +77,7 @@ class MappingProxyType(Mapping[_KT, _VT], Generic[_KT, _VT]):
|
||||
def __getitem__(self, k: _KT) -> _VT: ...
|
||||
def __iter__(self) -> Iterator[_KT]: ...
|
||||
def __len__(self) -> int: ...
|
||||
def copy(self) -> Mapping[_KT, _VT]: ...
|
||||
|
||||
class SimpleNamespace:
|
||||
def __init__(self, **kwargs: Any) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user