From 307aadc632bd7e80f427ad22ff036ebc53a5df2c Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Mon, 23 Jan 2023 13:41:27 +0000 Subject: [PATCH] Improve the signature of `types.MappingProxyType.__eq__` (#9581) --- stdlib/types.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/types.pyi b/stdlib/types.pyi index 793e9220f..5ce103b24 100644 --- a/stdlib/types.pyi +++ b/stdlib/types.pyi @@ -310,7 +310,7 @@ class MappingProxyType(Mapping[_KT, _VT_co], Generic[_KT, _VT_co]): def __getitem__(self, __key: _KT) -> _VT_co: ... def __iter__(self) -> Iterator[_KT]: ... def __len__(self) -> int: ... - def __eq__(self, other: object) -> bool: ... + def __eq__(self, __value: object) -> bool: ... def copy(self) -> dict[_KT, _VT_co]: ... def keys(self) -> KeysView[_KT]: ... def values(self) -> ValuesView[_VT_co]: ...