We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Array
1 parent e4673de commit 7ad3e27Copy full SHA for 7ad3e27
src/array_api_stubs/_draft/_types.py
@@ -19,6 +19,7 @@
19
"Union",
20
"Sequence",
21
"array",
22
+ "Array",
23
"device",
24
"dtype",
25
"ellipsis",
@@ -46,7 +47,7 @@
46
47
from enum import Enum
48
from .data_types import DType
49
-array = TypeVar("array", bound="_array")
50
+array = TypeVar("array", bound="Array")
51
device = TypeVar("device")
52
dtype = TypeVar("dtype", bound=DType)
53
device_ = TypeVar("device_") # only used in this file
@@ -149,7 +150,7 @@ def dtypes(
149
150
)
151
152
-class _array(Protocol[array, dtype_, device_, PyCapsule]): # type: ignore
153
+class Array(Protocol[array, dtype_, device_, PyCapsule]): # type: ignore
154
def __init__(self: array) -> None:
155
"""Initialize the attributes for the array object class."""
156
0 commit comments