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 @@ -1627,7 +1627,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
1627
1627
other : num | _str | timedelta | Timedelta | _ListLike | Series | np .timedelta64 ,
1628
1628
) -> Series : ...
1629
1629
@overload
1630
- def __add__ (self : Series [ int ] , other : Series [Never ]) -> Series : ...
1630
+ def __add__ (self : Series , other : Series [Never ]) -> Series : ...
1631
1631
@overload
1632
1632
def __add__ (
1633
1633
self : Series [int ], other : _T_COMPLEX | Sequence [_T_COMPLEX ] | Series [_T_COMPLEX ]
@@ -1639,8 +1639,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
1639
1639
@overload
1640
1640
def __add__ (self : Series [int ], other : np_ndarray_complex ) -> Series [complex ]: ...
1641
1641
@overload
1642
- def __add__ (self : Series [float ], other : Series [Never ]) -> Series : ...
1643
- @overload
1644
1642
def __add__ (
1645
1643
self : Series [float ],
1646
1644
other : int | Sequence [int ] | np_ndarray_anyint | np_ndarray_float | Series [int ],
@@ -1653,8 +1651,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
1653
1651
@overload
1654
1652
def __add__ (self : Series [float ], other : np_ndarray_complex ) -> Series [complex ]: ...
1655
1653
@overload
1656
- def __add__ (self : Series [complex ], other : Series [Never ]) -> Series : ...
1657
- @overload
1658
1654
def __add__ (
1659
1655
self : Series [complex ],
1660
1656
other : (
You can’t perform that action at this time.
0 commit comments