@@ -179,7 +179,7 @@ class _LocIndexerSeries(_LocIndexer, Generic[S1]):
179179 # ignore needed because of mypy. Overlapping, but we want to distinguish
180180 # having a tuple of just scalars, versus tuples that include slices or Index
181181 @overload
182- def __getitem__ ( # type: ignore[overload-overlap]
182+ def __getitem__ ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
183183 self ,
184184 idx : Scalar | tuple [Scalar , ...],
185185 # tuple case is for getting a specific element when using a MultiIndex
@@ -1465,7 +1465,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
14651465 ) -> Series : ...
14661466 # ignore needed for mypy as we want different results based on the arguments
14671467 @overload # type: ignore[override]
1468- def __and__ ( # type: ignore[overload-overlap]
1468+ def __and__ ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
14691469 self , other : bool | list [bool ] | list [int ] | np_ndarray_bool | Series [bool ]
14701470 ) -> Series [bool ]: ...
14711471 @overload
@@ -1499,7 +1499,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
14991499 def __pow__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ...
15001500 # ignore needed for mypy as we want different results based on the arguments
15011501 @overload # type: ignore[override]
1502- def __or__ ( # type: ignore[overload-overlap]
1502+ def __or__ ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
15031503 self , other : bool | list [bool ] | list [int ] | np_ndarray_bool | Series [bool ]
15041504 ) -> Series [bool ]: ...
15051505 @overload
@@ -1512,7 +1512,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
15121512 def __radd__ (self , other : num | _str | _ListLike | Series ) -> Series : ...
15131513 # ignore needed for mypy as we want different results based on the arguments
15141514 @overload # type: ignore[override]
1515- def __rand__ ( # type: ignore[overload-overlap]
1515+ def __rand__ ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
15161516 self , other : bool | list [bool ] | list [int ] | np_ndarray_bool | Series [bool ]
15171517 ) -> Series [bool ]: ...
15181518 @overload
@@ -1526,7 +1526,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
15261526 def __rpow__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ...
15271527 # ignore needed for mypy as we want different results based on the arguments
15281528 @overload # type: ignore[override]
1529- def __ror__ ( # type: ignore[overload-overlap]
1529+ def __ror__ ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
15301530 self , other : bool | list [bool ] | list [int ] | np_ndarray_bool | Series [bool ]
15311531 ) -> Series [bool ]: ...
15321532 @overload
@@ -1535,7 +1535,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
15351535 def __rtruediv__ (self , other : num | _ListLike | Series [S1 ]) -> Series : ...
15361536 # ignore needed for mypy as we want different results based on the arguments
15371537 @overload # type: ignore[override]
1538- def __rxor__ ( # type: ignore[overload-overlap]
1538+ def __rxor__ ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
15391539 self , other : bool | list [bool ] | list [int ] | np_ndarray_bool | Series [bool ]
15401540 ) -> Series [bool ]: ...
15411541 @overload
@@ -1559,7 +1559,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
15591559 def __truediv__ (self , other : num | _ListLike | Series [S1 ]) -> Series : ...
15601560 # ignore needed for mypy as we want different results based on the arguments
15611561 @overload # type: ignore[override]
1562- def __xor__ ( # type: ignore[overload-overlap]
1562+ def __xor__ ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
15631563 self , other : bool | list [bool ] | list [int ] | np_ndarray_bool | Series [bool ]
15641564 ) -> Series [bool ]: ...
15651565 @overload
0 commit comments