@@ -2205,7 +2205,7 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
2205
2205
2206
2206
# keep in sync with __add__
2207
2207
@overload
2208
- def __radd__ (self : NDArray [_NumberT ], lhs : int | bool_ , / ) -> ndarray [_ShapeT_co , dtype [_NumberT ]]: ... # type: ignore[misc]
2208
+ def __radd__ (self : NDArray [_NumberT ], lhs : int | bool_ , / ) -> ndarray [_ShapeT_co , dtype [_NumberT ]]: ...
2209
2209
@overload
2210
2210
def __radd__ (self : NDArray [_NumberT ], lhs : _ArrayLikeBool_co , / ) -> NDArray [_NumberT ]: ...
2211
2211
@overload
@@ -2317,7 +2317,7 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
2317
2317
2318
2318
# keep in sync with __sub__, minus the (datetime64, timedelta64) case
2319
2319
@overload
2320
- def __rsub__ (self : NDArray [_NumberT ], lhs : int | bool_ , / ) -> ndarray [_ShapeT_co , dtype [_NumberT ]]: ... # type: ignore[misc]
2320
+ def __rsub__ (self : NDArray [_NumberT ], lhs : int | bool_ , / ) -> ndarray [_ShapeT_co , dtype [_NumberT ]]: ...
2321
2321
@overload
2322
2322
def __rsub__ (self : NDArray [_NumberT ], lhs : _ArrayLikeBool_co , / ) -> NDArray [_NumberT ]: ...
2323
2323
@overload
@@ -2423,7 +2423,7 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
2423
2423
2424
2424
# keep in sync with __mul__
2425
2425
@overload
2426
- def __rmul__ (self : NDArray [_NumberT ], lhs : int | bool_ , / ) -> ndarray [_ShapeT_co , dtype [_NumberT ]]: ... # type: ignore[misc]
2426
+ def __rmul__ (self : NDArray [_NumberT ], lhs : int | bool_ , / ) -> ndarray [_ShapeT_co , dtype [_NumberT ]]: ...
2427
2427
@overload
2428
2428
def __rmul__ (self : NDArray [_NumberT ], lhs : _ArrayLikeBool_co , / ) -> NDArray [_NumberT ]: ...
2429
2429
@overload
@@ -2678,7 +2678,7 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
2678
2678
2679
2679
#
2680
2680
@overload
2681
- def __rfloordiv__ (self : NDArray [_RealNumberT ], lhs : int | bool_ , / ) -> ndarray [_ShapeT_co , dtype [_RealNumberT ]]: ... # type: ignore[overload-overlap, misc ] # pyright: ignore[reportOverlappingOverload]
2681
+ def __rfloordiv__ (self : NDArray [_RealNumberT ], lhs : int | bool_ , / ) -> ndarray [_ShapeT_co , dtype [_RealNumberT ]]: ... # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
2682
2682
@overload
2683
2683
def __rfloordiv__ (self : NDArray [_RealNumberT ], lhs : _ArrayLikeBool_co , / ) -> NDArray [_RealNumberT ]: ... # type: ignore[overload-overlap]
2684
2684
@overload
@@ -2756,7 +2756,7 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
2756
2756
2757
2757
# keep in sync with __mod__
2758
2758
@overload
2759
- def __rmod__ (self : NDArray [_RealNumberT ], lhs : int | bool_ , / ) -> ndarray [_ShapeT_co , dtype [_RealNumberT ]]: ... # type: ignore[overload-overlap, misc ] # pyright: ignore[reportOverlappingOverload]
2759
+ def __rmod__ (self : NDArray [_RealNumberT ], lhs : int | bool_ , / ) -> ndarray [_ShapeT_co , dtype [_RealNumberT ]]: ... # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
2760
2760
@overload
2761
2761
def __rmod__ (self : NDArray [_RealNumberT ], lhs : _ArrayLikeBool_co , / ) -> NDArray [_RealNumberT ]: ... # type: ignore[overload-overlap]
2762
2762
@overload
@@ -2830,7 +2830,7 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
2830
2830
2831
2831
# keep in sync with __divmod__
2832
2832
@overload
2833
- def __rdivmod__ (self : NDArray [_RealNumberT ], lhs : int | bool_ , / ) -> _2Tuple [ndarray [_ShapeT_co , dtype [_RealNumberT ]]]: ... # type: ignore[overload-overlap, misc ] # pyright: ignore[reportOverlappingOverload]
2833
+ def __rdivmod__ (self : NDArray [_RealNumberT ], lhs : int | bool_ , / ) -> _2Tuple [ndarray [_ShapeT_co , dtype [_RealNumberT ]]]: ... # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
2834
2834
@overload
2835
2835
def __rdivmod__ (self : NDArray [_RealNumberT ], lhs : _ArrayLikeBool_co , / ) -> _2Tuple [NDArray [_RealNumberT ]]: ... # type: ignore[overload-overlap]
2836
2836
@overload
@@ -6192,7 +6192,7 @@ class complexfloating(inexact[_NBitT1, complex], Generic[_NBitT1, _NBitT2]):
6192
6192
6193
6193
#
6194
6194
@overload
6195
- def __radd__ (self , x : inexact [_NBitT1 ] | _Complex64_co , / ) -> Self : ... # type: ignore[misc]
6195
+ def __radd__ (self , x : inexact [_NBitT1 ] | _Complex64_co , / ) -> Self : ...
6196
6196
@overload
6197
6197
def __radd__ (self , x : inexact [_128Bit ] | inexact [_96Bit ], / ) -> clongdouble : ...
6198
6198
@overload
@@ -6224,7 +6224,7 @@ class complexfloating(inexact[_NBitT1, complex], Generic[_NBitT1, _NBitT2]):
6224
6224
6225
6225
# keep in sync with `__radd__`
6226
6226
@overload
6227
- def __rsub__ (self , x : inexact [_NBitT1 ] | _Complex64_co , / ) -> Self : ... # type: ignore[misc]
6227
+ def __rsub__ (self , x : inexact [_NBitT1 ] | _Complex64_co , / ) -> Self : ...
6228
6228
@overload
6229
6229
def __rsub__ (self , x : inexact [_128Bit ] | inexact [_96Bit ], / ) -> clongdouble : ...
6230
6230
@overload
@@ -6256,7 +6256,7 @@ class complexfloating(inexact[_NBitT1, complex], Generic[_NBitT1, _NBitT2]):
6256
6256
6257
6257
# keep in sync with `__radd__`
6258
6258
@overload
6259
- def __rmul__ (self , x : inexact [_NBitT1 ] | _Complex64_co , / ) -> Self : ... # type: ignore[misc]
6259
+ def __rmul__ (self , x : inexact [_NBitT1 ] | _Complex64_co , / ) -> Self : ...
6260
6260
@overload
6261
6261
def __rmul__ (self , x : inexact [_128Bit ] | inexact [_96Bit ], / ) -> clongdouble : ...
6262
6262
@overload
@@ -6484,7 +6484,7 @@ class timedelta64(_IntegralMixin, generic[_TD64ItemT_co], Generic[_TD64ItemT_co]
6484
6484
6485
6485
#
6486
6486
@overload
6487
- def __rsub__ (self , a : _IntLike_co , / ) -> Self : ... # type: ignore[misc]
6487
+ def __rsub__ (self , a : _IntLike_co , / ) -> Self : ...
6488
6488
@overload
6489
6489
def __rsub__ (self , a : timedelta64 [None ], / ) -> timedelta64 [None ]: ...
6490
6490
@overload
0 commit comments