From 1b1933a10f924095b139cdd644633d02adb7a03f Mon Sep 17 00:00:00 2001 From: DevilXD Date: Sat, 26 Mar 2022 11:49:04 +0100 Subject: [PATCH] Add a 'copy' method to Mapping --- stdlib/typing.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/typing.pyi b/stdlib/typing.pyi index 88b9fbeb6057..8423989c5438 100644 --- a/stdlib/typing.pyi +++ b/stdlib/typing.pyi @@ -933,6 +933,7 @@ class Mapping(Collection[_KT], Generic[_KT, _VT_co]): def items(self) -> ItemsView[_KT, _VT_co]: ... def keys(self) -> KeysView[_KT]: ... def values(self) -> ValuesView[_VT_co]: ... + def copy(self) -> MutableMapping[_KT, _VT_co]: ... def __contains__(self, __o: object) -> bool: ... class MutableMapping(Mapping[_KT, _VT], Generic[_KT, _VT]):