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 @@ -1590,7 +1590,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
1590
1590
other : num | _str | timedelta | Timedelta | _ListLike | Series | np .timedelta64 ,
1591
1591
) -> Series : ...
1592
1592
@overload
1593
- def __add__ (self : Series [ int ] , other : Series [Never ]) -> Series : ...
1593
+ def __add__ (self : Series , other : Series [Never ]) -> Series : ...
1594
1594
@overload
1595
1595
def __add__ (
1596
1596
self : Series [int ], other : _T_COMPLEX | Sequence [_T_COMPLEX ] | Series [_T_COMPLEX ]
@@ -1602,8 +1602,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
1602
1602
@overload
1603
1603
def __add__ (self : Series [int ], other : np_ndarray_complex ) -> Series [complex ]: ...
1604
1604
@overload
1605
- def __add__ (self : Series [float ], other : Series [Never ]) -> Series : ...
1606
- @overload
1607
1605
def __add__ (
1608
1606
self : Series [float ],
1609
1607
other : int | Sequence [int ] | np_ndarray_anyint | np_ndarray_float | Series [int ],
@@ -1616,8 +1614,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
1616
1614
@overload
1617
1615
def __add__ (self : Series [float ], other : np_ndarray_complex ) -> Series [complex ]: ...
1618
1616
@overload
1619
- def __add__ (self : Series [complex ], other : Series [Never ]) -> Series : ...
1620
- @overload
1621
1617
def __add__ (
1622
1618
self : Series [complex ],
1623
1619
other : (
You can’t perform that action at this time.
0 commit comments