Skip to content

Commit c353b4b

Browse files
committed
Remove fallback Any overload
1 parent 0cd9817 commit c353b4b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

stdlib/_operator.pyi

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ class _SupportsRAdd(Protocol[_T_contra, _U_co]):
7272
def add(a: _SupportsAdd[_T, _U], b: _T, /) -> _U: ...
7373
@overload
7474
def add(a: _T, b: _SupportsRAdd[_T, _U], /) -> _U: ...
75-
@overload
76-
def add(a: Any, b: Any, /) -> Any: ...
7775

7876
class _SupportsAnd(Protocol[_T_contra, _U_co]):
7977
def __and__(self, other: _T_contra, /) -> _U_co: ...
@@ -85,8 +83,6 @@ class _SupportsRAnd(Protocol[_T_contra, _U_co]):
8583
def and_(a: _SupportsAnd[_T, _U], b: _T, /) -> _U: ...
8684
@overload
8785
def and_(a: _T, b: _SupportsRAnd[_T, _U], /) -> _U: ...
88-
@overload
89-
def and_(a: Any, b: Any, /) -> Any: ...
9086
def floordiv(a: Any, b: Any, /) -> Any: ...
9187
def index(a: SupportsIndex, /) -> int: ...
9288
def inv(a: _SupportsInversion[_T_co], /) -> _T_co: ...
@@ -104,8 +100,6 @@ class _SupportsRMul(Protocol[_T_contra, _U_co]):
104100
def mul(a: _SupportsMul[_T, _U], b: _T, /) -> _U: ...
105101
@overload
106102
def mul(a: _T, b: _SupportsRMul[_T, _U], /) -> _U: ...
107-
@overload
108-
def mul(a: Any, b: Any, /) -> Any: ...
109103
def matmul(a: Any, b: Any, /) -> Any: ...
110104
def neg(a: _SupportsNeg[_T_co], /) -> _T_co: ...
111105
def or_(a: Any, b: Any, /) -> Any: ...

0 commit comments

Comments
 (0)