File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/array_api_stubs/_draft Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 19
19
"Union" ,
20
20
"Sequence" ,
21
21
"array" ,
22
+ "Array" ,
22
23
"device" ,
23
24
"dtype" ,
24
25
"ellipsis" ,
46
47
from enum import Enum
47
48
from .data_types import DType
48
49
49
- array = TypeVar ("array" , bound = "_array " )
50
+ array = TypeVar ("array" , bound = "Array " )
50
51
device = TypeVar ("device" )
51
52
dtype = TypeVar ("dtype" , bound = DType )
52
53
device_ = TypeVar ("device_" ) # only used in this file
@@ -149,7 +150,7 @@ def dtypes(
149
150
)
150
151
151
152
152
- class _array (Protocol [array , dtype_ , device_ , PyCapsule ]): # type: ignore
153
+ class Array (Protocol [array , dtype_ , device_ , PyCapsule ]): # type: ignore
153
154
def __init__ (self : array ) -> None :
154
155
"""Initialize the attributes for the array object class."""
155
156
You can’t perform that action at this time.
0 commit comments