Skip to content

Commit bfb7342

Browse files
remove dict.__or__ overloads (#14284)
1 parent 4905a32 commit bfb7342

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

stdlib/builtins.pyi

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,13 +1240,7 @@ class dict(MutableMapping[_KT, _VT]):
12401240
def __reversed__(self) -> Iterator[_KT]: ...
12411241
__hash__: ClassVar[None] # type: ignore[assignment]
12421242
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...
1243-
@overload
1244-
def __or__(self, value: dict[_KT, _VT], /) -> dict[_KT, _VT]: ...
1245-
@overload
12461243
def __or__(self, value: dict[_T1, _T2], /) -> dict[_KT | _T1, _VT | _T2]: ...
1247-
@overload
1248-
def __ror__(self, value: dict[_KT, _VT], /) -> dict[_KT, _VT]: ...
1249-
@overload
12501244
def __ror__(self, value: dict[_T1, _T2], /) -> dict[_KT | _T1, _VT | _T2]: ...
12511245
# dict.__ior__ should be kept roughly in line with MutableMapping.update()
12521246
@overload # type: ignore[misc]

0 commit comments

Comments
 (0)