@@ -1651,10 +1651,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
16511651 self , other : int | np_ndarray_anyint | Series [int ]
16521652 ) -> Series [int ]: ...
16531653 def __rsub__ (self , other : num | _ListLike | Series [S1 ]) -> Series : ...
1654- @overload
1655- def __rtruediv__ (self , other : Path ) -> Series : ...
1656- @overload
1657- def __rtruediv__ (self , other : num | _ListLike | Series [S1 ]) -> Series : ...
1654+ def __rtruediv__ (self , other : num | _ListLike | Series [S1 ] | Path ) -> Series : ...
16581655 # ignore needed for mypy as we want different results based on the arguments
16591656 @overload # type: ignore[override]
16601657 def __rxor__ ( # pyright: ignore[reportOverlappingOverload]
@@ -1680,10 +1677,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
16801677 ) -> TimedeltaSeries : ...
16811678 @overload
16821679 def __sub__ (self , other : num | _ListLike | Series ) -> Series : ...
1683- @overload
1684- def __truediv__ (self , other : Path ) -> Series : ...
1685- @overload
1686- def __truediv__ (self , other : num | _ListLike | Series [S1 ]) -> Series : ...
1680+ def __truediv__ (self , other : num | _ListLike | Series [S1 ] | Path ) -> Series : ...
16871681 # ignore needed for mypy as we want different results based on the arguments
16881682 @overload # type: ignore[override]
16891683 def __xor__ ( # pyright: ignore[reportOverlappingOverload]
0 commit comments