Return Dict from copy(). (#4510)

This commit is contained in:
Sam Bull
2020-11-02 11:44:45 +00:00
committed by GitHub
parent 40b44a9bf1
commit 57b86e0e71

View File

@@ -140,7 +140,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]: ...
def copy(self) -> Dict[_KT, _VT]: ...
class SimpleNamespace:
def __init__(self, **kwargs: Any) -> None: ...