From 18ef68053bb3ea618f8509e44beec0741c46fdfd Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Tue, 1 Sep 2020 17:05:09 +0100 Subject: [PATCH] Return Dict from copy(). --- stdlib/3/types.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/types.pyi b/stdlib/3/types.pyi index 8e8ef4a1094f..c28008756637 100644 --- a/stdlib/3/types.pyi +++ b/stdlib/3/types.pyi @@ -143,7 +143,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: ...