@@ -3440,27 +3440,23 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DTypeT_co]):
34403440
34413441 #
34423442 @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 ]: ...
34443444 @overload
34453445 def __itruediv__ (self : NDArray [complexfloating ], other : _ArrayLikeComplex_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
34463446 @overload
3447- def __itruediv__ (self : NDArray [timedelta64 ], other : _ArrayLikeInt , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
3448- @overload
34493447 def __itruediv__ (self : NDArray [object_ ], other : Any , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
34503448
34513449 # keep in sync with `__imod__`
34523450 @overload
34533451 def __ifloordiv__ (
34543452 self : NDArray [unsignedinteger ],
34553453 other : _ArrayLikeUInt_co | _IntLike_co ,
3456- /
3454+ / ,
34573455 ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
34583456 @overload
34593457 def __ifloordiv__ (self : NDArray [signedinteger ], other : _ArrayLikeInt_co , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
34603458 @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 ]: ...
34643460 @overload
34653461 def __ifloordiv__ (self : NDArray [object_ ], other : Any , / ) -> ndarray [_ShapeT_co , _DTypeT_co ]: ...
34663462
0 commit comments