We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Rank*
Shape*
1 parent df96c5b commit 1918655Copy full SHA for 1918655
1 file changed
tool/ufunc.py
@@ -28,7 +28,7 @@
28
import numpy as np
29
import numpy._core.umath as um # noqa: PLC2701
30
31
-_ScalarLike: TypeAlias = np.generic | np.ndarray["_nt.Shape0", np.dtype]
+_ScalarLike: TypeAlias = np.generic | np.ndarray["_nt.Rank0", np.dtype]
32
33
_EXTRA_SCALARS: Final[tuple[_ScalarLike, ...]] = (
34
np.str_(""),
0 commit comments