@@ -3334,17 +3334,11 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
3334
3334
@overload
3335
3335
def __iadd__ (self : NDArray [signedinteger ], other : _ArrayLikeInt_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3336
3336
@overload
3337
- def __iadd__ (self : NDArray [float64 ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3338
- @overload
3339
3337
def __iadd__ (self : NDArray [floating ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3340
3338
@overload
3341
- def __iadd__ (self : NDArray [complex128 ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3342
- @overload
3343
3339
def __iadd__ (self : NDArray [complexfloating ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3344
3340
@overload
3345
- def __iadd__ (self : NDArray [timedelta64 ], other : _ArrayLikeTD64_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3346
- @overload
3347
- def __iadd__ (self : NDArray [datetime64 ], other : _ArrayLikeTD64_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3341
+ def __iadd__ (self : NDArray [timedelta64 | datetime64 ], other : _ArrayLikeTD64_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3348
3342
@overload
3349
3343
def __iadd__ (self : NDArray [object_ ], other : Any , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3350
3344
@@ -3357,17 +3351,11 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
3357
3351
@overload
3358
3352
def __isub__ (self : NDArray [signedinteger ], other : _ArrayLikeInt_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3359
3353
@overload
3360
- def __isub__ (self : NDArray [float64 ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3361
- @overload
3362
3354
def __isub__ (self : NDArray [floating ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3363
3355
@overload
3364
- def __isub__ (self : NDArray [complex128 ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3365
- @overload
3366
3356
def __isub__ (self : NDArray [complexfloating ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3367
3357
@overload
3368
- def __isub__ (self : NDArray [timedelta64 ], other : _ArrayLikeTD64_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3369
- @overload
3370
- def __isub__ (self : NDArray [datetime64 ], other : _ArrayLikeTD64_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3358
+ def __isub__ (self : NDArray [timedelta64 | datetime64 ], other : _ArrayLikeTD64_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3371
3359
@overload
3372
3360
def __isub__ (self : NDArray [object_ ], other : Any , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3373
3361
@@ -3382,30 +3370,16 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
3382
3370
@overload
3383
3371
def __imul__ (self : NDArray [signedinteger ], other : _ArrayLikeInt_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3384
3372
@overload
3385
- def __imul__ (self : NDArray [float64 ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3386
- @overload
3387
- def __imul__ (self : NDArray [floating ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3388
- @overload
3389
- def __imul__ (self : NDArray [complex128 ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3373
+ def __imul__ (self : NDArray [floating | timedelta64 ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3390
3374
@overload
3391
3375
def __imul__ (self : NDArray [complexfloating ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3392
3376
@overload
3393
- def __imul__ (self : NDArray [timedelta64 ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3394
- @overload
3395
3377
def __imul__ (self : NDArray [object_ ], other : Any , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3396
3378
3397
- @overload
3398
- def __itruediv__ (self : NDArray [float64 ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3399
3379
@overload
3400
3380
def __itruediv__ (self : NDArray [floating ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3401
3381
@overload
3402
- def __itruediv__ (self : NDArray [complex128 ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3403
- @overload
3404
- def __itruediv__ (
3405
- self : NDArray [complexfloating ],
3406
- other : _ArrayLikeComplex_co ,
3407
- / ,
3408
- ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3382
+ def __itruediv__ (self : NDArray [complexfloating ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3409
3383
@overload
3410
3384
def __itruediv__ (self : NDArray [timedelta64 ], other : _ArrayLikeInt , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3411
3385
@overload
@@ -3420,8 +3394,6 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
3420
3394
@overload
3421
3395
def __ifloordiv__ (self : NDArray [signedinteger ], other : _ArrayLikeInt_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3422
3396
@overload
3423
- def __ifloordiv__ (self : NDArray [float64 ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3424
- @overload
3425
3397
def __ifloordiv__ (self : NDArray [floating ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3426
3398
@overload
3427
3399
def __ifloordiv__ (self : NDArray [complex128 ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
@@ -3445,12 +3417,8 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
3445
3417
@overload
3446
3418
def __ipow__ (self : NDArray [signedinteger ], other : _ArrayLikeInt_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3447
3419
@overload
3448
- def __ipow__ (self : NDArray [float64 ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3449
- @overload
3450
3420
def __ipow__ (self : NDArray [floating ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3451
3421
@overload
3452
- def __ipow__ (self : NDArray [complex128 ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3453
- @overload
3454
3422
def __ipow__ (self : NDArray [complexfloating ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3455
3423
@overload
3456
3424
def __ipow__ (self : NDArray [object_ ], other : Any , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
@@ -3464,8 +3432,6 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
3464
3432
@overload
3465
3433
def __imod__ (self : NDArray [signedinteger ], other : _ArrayLikeInt_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3466
3434
@overload
3467
- def __imod__ (self : NDArray [float64 ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3468
- @overload
3469
3435
def __imod__ (self : NDArray [floating ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3470
3436
@overload
3471
3437
def __imod__ (
@@ -3544,12 +3510,8 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
3544
3510
@overload
3545
3511
def __imatmul__ (self : NDArray [signedinteger ], other : _ArrayLikeInt_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3546
3512
@overload
3547
- def __imatmul__ (self : NDArray [float64 ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3548
- @overload
3549
3513
def __imatmul__ (self : NDArray [floating ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3550
3514
@overload
3551
- def __imatmul__ (self : NDArray [complex128 ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3552
- @overload
3553
3515
def __imatmul__ (self : NDArray [complexfloating ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3554
3516
@overload
3555
3517
def __imatmul__ (self : NDArray [object_ ], other : Any , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
0 commit comments