@@ -3440,27 +3440,23 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
3440
3440
3441
3441
#
3442
3442
@overload
3443
- def __itruediv__ (self : NDArray [floating ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3443
+ def __itruediv__ (self : NDArray [floating | timedelta64 ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3444
3444
@overload
3445
3445
def __itruediv__ (self : NDArray [complexfloating ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3446
3446
@overload
3447
- def __itruediv__ (self : NDArray [timedelta64 ], other : _ArrayLikeInt , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3448
- @overload
3449
3447
def __itruediv__ (self : NDArray [object_ ], other : Any , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3450
3448
3451
3449
# keep in sync with `__imod__`
3452
3450
@overload
3453
3451
def __ifloordiv__ (
3454
3452
self : NDArray [unsignedinteger ],
3455
3453
other : _ArrayLikeUInt_co | _IntLike_co ,
3456
- /
3454
+ / ,
3457
3455
) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3458
3456
@overload
3459
3457
def __ifloordiv__ (self : NDArray [signedinteger ], other : _ArrayLikeInt_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3460
3458
@overload
3461
- def __ifloordiv__ (self : NDArray [floating ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3462
- @overload
3463
- def __ifloordiv__ (self : NDArray [timedelta64 ], other : _ArrayLikeInt , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3459
+ def __ifloordiv__ (self : NDArray [floating | timedelta64 ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3464
3460
@overload
3465
3461
def __ifloordiv__ (self : NDArray [object_ ], other : Any , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3466
3462
0 commit comments