File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -1652,8 +1652,8 @@ class Series(IndexOpsMixin[S1], NDFrame):
1652
1652
def __add__ (
1653
1653
self : Series [float ],
1654
1654
other : (
1655
- _T_INT
1656
- | Sequence [_T_INT ]
1655
+ int
1656
+ | Sequence [int ]
1657
1657
| np_ndarray_bool
1658
1658
| np_ndarray_anyint
1659
1659
| np_ndarray_float
@@ -1767,8 +1767,8 @@ class Series(IndexOpsMixin[S1], NDFrame):
1767
1767
def add (
1768
1768
self : Series [float ],
1769
1769
other : (
1770
- _T_INT
1771
- | Sequence [_T_INT ]
1770
+ int
1771
+ | Sequence [int ]
1772
1772
| np_ndarray_bool
1773
1773
| np_ndarray_anyint
1774
1774
| np_ndarray_float
@@ -1848,11 +1848,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
1848
1848
def __radd__ (
1849
1849
self : Series [float ],
1850
1850
other : (
1851
- _T_INT
1852
- | Sequence [_T_INT ]
1853
- | np_ndarray_bool
1854
- | np_ndarray_anyint
1855
- | np_ndarray_float
1851
+ int | Sequence [int ] | np_ndarray_bool | np_ndarray_anyint | np_ndarray_float
1856
1852
),
1857
1853
) -> Series [float ]: ...
1858
1854
@overload
@@ -1960,8 +1956,8 @@ class Series(IndexOpsMixin[S1], NDFrame):
1960
1956
def radd (
1961
1957
self : Series [float ],
1962
1958
other : (
1963
- _T_INT
1964
- | Sequence [_T_INT ]
1959
+ int
1960
+ | Sequence [int ]
1965
1961
| np_ndarray_bool
1966
1962
| np_ndarray_anyint
1967
1963
| np_ndarray_float
You can’t perform that action at this time.
0 commit comments