Skip to content

Commit 9c29c32

Browse files
committed
TYP: fix slightly incorrect memoryview type argument in ScalarType
Ported from numpy/numtype#693
1 parent 47430c7 commit 9c29c32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/_core/numerictypes.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from builtins import bool as py_bool
2-
from typing import Final, Literal as L, TypedDict, type_check_only
2+
from typing import Any, Final, Literal as L, TypedDict, type_check_only
33

44
import numpy as np
55
from numpy import (
@@ -166,7 +166,7 @@ ScalarType: Final[
166166
type[py_bool],
167167
type[bytes],
168168
type[str],
169-
type[memoryview],
169+
type[memoryview[Any]],
170170
type[np.bool],
171171
type[csingle],
172172
type[cdouble],

0 commit comments

Comments
 (0)