File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -769,7 +769,7 @@ class mvoid(MaskedArray[_ShapeT_co, _DTypeT_co]):
769769 def tolist (self ) -> Incomplete : ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
770770
771771# 0D float64 array
772- class MaskedConstant (MaskedArray [_nt .Shape0 , np .dtype [np .float64 ]]):
772+ class MaskedConstant (MaskedArray [_nt .Rank0 , np .dtype [np .float64 ]]):
773773 def __new__ (cls ) -> Self : ...
774774 @override
775775 def __array_wrap__ ( # type: ignore[override]
@@ -778,7 +778,7 @@ class MaskedConstant(MaskedArray[_nt.Shape0, np.dtype[np.float64]]):
778778 obj : Incomplete ,
779779 context : Incomplete | None = None ,
780780 return_scalar : bool = False ,
781- ) -> MaskedArray [ _nt .Shape0 , np . dtype [np .float64 ] ]: ...
781+ ) -> _nt .MArray0D [np .float64 ]: ...
782782 @override
783783 def __format__ (self , format_spec : str , / ) -> str : ...
784784
You can’t perform that action at this time.
0 commit comments