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 1919 "Union" ,
2020 "Sequence" ,
2121 "array" ,
22+ "Array" ,
2223 "device" ,
2324 "dtype" ,
2425 "ellipsis" ,
4647from enum import Enum
4748from .data_types import DType
4849
49- array = TypeVar ("array" , bound = "_array " )
50+ array = TypeVar ("array" , bound = "Array " )
5051device = TypeVar ("device" )
5152dtype = TypeVar ("dtype" , bound = DType )
5253device_ = TypeVar ("device_" ) # only used in this file
@@ -149,7 +150,7 @@ def dtypes(
149150)
150151
151152
152- class _array (Protocol [array , dtype_ , device_ , PyCapsule ]): # type: ignore
153+ class Array (Protocol [array , dtype_ , device_ , PyCapsule ]): # type: ignore
153154 def __init__ (self : array ) -> None :
154155 """Initialize the attributes for the array object class."""
155156
You can’t perform that action at this time.
0 commit comments