@@ -3443,27 +3443,23 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
34433443
34443444 #
34453445 @overload
3446- def __itruediv__ (self : NDArray [floating ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3446+ def __itruediv__ (self : NDArray [floating | timedelta64 ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
34473447 @overload
34483448 def __itruediv__ (self : NDArray [complexfloating ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
34493449 @overload
3450- def __itruediv__ (self : NDArray [timedelta64 ], other : _ArrayLikeInt , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3451- @overload
34523450 def __itruediv__ (self : NDArray [object_ ], other : Any , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
34533451
34543452 # keep in sync with `__imod__`
34553453 @overload
34563454 def __ifloordiv__ (
34573455 self : NDArray [unsignedinteger ],
34583456 other : _ArrayLikeUInt_co | _IntLike_co ,
3459- /
3457+ / ,
34603458 ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
34613459 @overload
34623460 def __ifloordiv__ (self : NDArray [signedinteger ], other : _ArrayLikeInt_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
34633461 @overload
3464- def __ifloordiv__ (self : NDArray [floating ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3465- @overload
3466- def __ifloordiv__ (self : NDArray [timedelta64 ], other : _ArrayLikeInt , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3462+ def __ifloordiv__ (self : NDArray [floating | timedelta64 ], other : _ArrayLikeFloat_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
34673463 @overload
34683464 def __ifloordiv__ (self : NDArray [object_ ], other : Any , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
34693465
0 commit comments