Skip to content

Commit 1e11d7e

Browse files
committed
1 parent e3bfc89 commit 1e11d7e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pandas-stubs/core/series.pyi

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
16231623
other: num | _str | timedelta | Timedelta | _ListLike | Series | np.timedelta64,
16241624
) -> Series: ...
16251625
@overload
1626-
def __add__(self: Series[int], other: Series[Never]) -> Series: ...
1626+
def __add__(self: Series, other: Series[Never]) -> Series: ...
16271627
@overload
16281628
def __add__(
16291629
self: Series[int], other: _T_COMPLEX | Sequence[_T_COMPLEX] | Series[_T_COMPLEX]
@@ -1635,8 +1635,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
16351635
@overload
16361636
def __add__(self: Series[int], other: np_ndarray_complex) -> Series[complex]: ...
16371637
@overload
1638-
def __add__(self: Series[float], other: Series[Never]) -> Series: ...
1639-
@overload
16401638
def __add__(
16411639
self: Series[float],
16421640
other: int | Sequence[int] | np_ndarray_anyint | np_ndarray_float | Series[int],
@@ -1649,8 +1647,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
16491647
@overload
16501648
def __add__(self: Series[float], other: np_ndarray_complex) -> Series[complex]: ...
16511649
@overload
1652-
def __add__(self: Series[complex], other: Series[Never]) -> Series: ...
1653-
@overload
16541650
def __add__(
16551651
self: Series[complex],
16561652
other: (

0 commit comments

Comments
 (0)