Skip to content

Commit 22fb401

Browse files
remove __or__ overloads
1 parent ecd5141 commit 22fb401

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

stdlib/builtins.pyi

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,13 +1201,7 @@ class dict(MutableMapping[_KT, _VT]):
12011201
def __reversed__(self) -> Iterator[_KT]: ...
12021202
__hash__: ClassVar[None] # type: ignore[assignment]
12031203
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...
1204-
@overload
1205-
def __or__(self, value: dict[_KT, _VT], /) -> dict[_KT, _VT]: ...
1206-
@overload
12071204
def __or__(self, value: dict[_T1, _T2], /) -> dict[_KT | _T1, _VT | _T2]: ...
1208-
@overload
1209-
def __ror__(self, value: dict[_KT, _VT], /) -> dict[_KT, _VT]: ...
1210-
@overload
12111205
def __ror__(self, value: dict[_T1, _T2], /) -> dict[_KT | _T1, _VT | _T2]: ...
12121206
# dict.__ior__ should be kept roughly in line with MutableMapping.update()
12131207
@overload # type: ignore[misc]

0 commit comments

Comments
 (0)