Skip to content

Commit 289042f

Browse files
nstarmanjorenham
andauthored
Update src/array_api_typing/_array.py
Co-authored-by: Joren Hammudoglu <[email protected]> Signed-off-by: Nathaniel Starkman <[email protected]>
1 parent 63c2b23 commit 289042f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array_api_typing/_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class HasDType(Protocol[DTypeT_co]):
4343
"""Protocol for array classes that have a data type attribute."""
4444

4545
@property
46-
def dtype(self) -> DTypeT_co:
46+
def dtype(self, /) -> DTypeT_co:
4747
"""Data type of the array elements."""
4848
...
4949

0 commit comments

Comments
 (0)