From 57b86e0e71b15a810e954a16b8e76c508751ba47 Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Mon, 2 Nov 2020 11:44:45 +0000 Subject: [PATCH] Return Dict from copy(). (#4510) --- 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 38095b77b..7bf4ee47b 100644 --- a/stdlib/3/types.pyi +++ b/stdlib/3/types.pyi @@ -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: ...