Skip to content

Commit 9a988c4

Browse files
authored
Improve the signature of types.MappingProxyType.__eq__
The second parameter is positional-only (I missed this when reviewing #9580)
1 parent d5b88c5 commit 9a988c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/types.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ class MappingProxyType(Mapping[_KT, _VT_co], Generic[_KT, _VT_co]):
310310
def __getitem__(self, __key: _KT) -> _VT_co: ...
311311
def __iter__(self) -> Iterator[_KT]: ...
312312
def __len__(self) -> int: ...
313-
def __eq__(self, other: object) -> bool: ...
313+
def __eq__(self, __value: object) -> bool: ...
314314
def copy(self) -> dict[_KT, _VT_co]: ...
315315
def keys(self) -> KeysView[_KT]: ...
316316
def values(self) -> ValuesView[_VT_co]: ...

0 commit comments

Comments
 (0)