File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -769,7 +769,7 @@ class mvoid(MaskedArray[_ShapeT_co, _DTypeT_co]):
769
769
def tolist (self ) -> Incomplete : ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
770
770
771
771
# 0D float64 array
772
- class MaskedConstant (MaskedArray [_nt .Shape0 , np .dtype [np .float64 ]]):
772
+ class MaskedConstant (MaskedArray [_nt .Rank0 , np .dtype [np .float64 ]]):
773
773
def __new__ (cls ) -> Self : ...
774
774
@override
775
775
def __array_wrap__ ( # type: ignore[override]
@@ -778,7 +778,7 @@ class MaskedConstant(MaskedArray[_nt.Shape0, np.dtype[np.float64]]):
778
778
obj : Incomplete ,
779
779
context : Incomplete | None = None ,
780
780
return_scalar : bool = False ,
781
- ) -> MaskedArray [ _nt .Shape0 , np . dtype [np .float64 ] ]: ...
781
+ ) -> _nt .MArray0D [np .float64 ]: ...
782
782
@override
783
783
def __format__ (self , format_spec : str , / ) -> str : ...
784
784
You can’t perform that action at this time.
0 commit comments