File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -1623,7 +1623,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
1623
1623
other : num | _str | timedelta | Timedelta | _ListLike | Series | np .timedelta64 ,
1624
1624
) -> Series : ...
1625
1625
@overload
1626
- def __add__ (self : Series [ int ] , other : Series [Never ]) -> Series : ...
1626
+ def __add__ (self : Series , other : Series [Never ]) -> Series : ...
1627
1627
@overload
1628
1628
def __add__ (
1629
1629
self : Series [int ], other : _T_COMPLEX | Sequence [_T_COMPLEX ] | Series [_T_COMPLEX ]
@@ -1635,8 +1635,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
1635
1635
@overload
1636
1636
def __add__ (self : Series [int ], other : np_ndarray_complex ) -> Series [complex ]: ...
1637
1637
@overload
1638
- def __add__ (self : Series [float ], other : Series [Never ]) -> Series : ...
1639
- @overload
1640
1638
def __add__ (
1641
1639
self : Series [float ],
1642
1640
other : int | Sequence [int ] | np_ndarray_anyint | np_ndarray_float | Series [int ],
@@ -1649,8 +1647,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
1649
1647
@overload
1650
1648
def __add__ (self : Series [float ], other : np_ndarray_complex ) -> Series [complex ]: ...
1651
1649
@overload
1652
- def __add__ (self : Series [complex ], other : Series [Never ]) -> Series : ...
1653
- @overload
1654
1650
def __add__ (
1655
1651
self : Series [complex ],
1656
1652
other : (
You can’t perform that action at this time.
0 commit comments