Skip to content

Commit 7d585d9

Browse files
committed
fix(comment): #1314 (comment)
1 parent 1853a8d commit 7d585d9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pandas-stubs/core/series.pyi

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1690,6 +1690,14 @@ class Series(IndexOpsMixin[S1], NDFrame):
16901690
axis: int = 0,
16911691
) -> Series: ...
16921692
@overload
1693+
def add(
1694+
self,
1695+
other: Series[Never],
1696+
level: Level | None = None,
1697+
fill_value: float | None = None,
1698+
axis: int = 0,
1699+
) -> Series: ...
1700+
@overload
16931701
def add(
16941702
self: Series[bool],
16951703
other: _T_COMPLEX | Sequence[_T_COMPLEX] | Series[_T_COMPLEX],
@@ -1876,7 +1884,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
18761884
self: Series[_T_COMPLEX], other: np_ndarray_complex
18771885
) -> Series[complex]: ...
18781886
@overload
1879-
def __radd__(self, other: S1) -> Self: ...
1887+
def __radd__(self, other: S1 | Series[S1]) -> Self: ...
18801888
@overload
18811889
def radd(
18821890
self: Series[Never],

0 commit comments

Comments
 (0)