Skip to content

Commit 9018998

Browse files
committed
Disallow k=None for the eye function
Original NumPy Commit: 9c356d55d78620532ed92987af1721d7ca4034ec
1 parent a05cea7 commit 9018998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_strict/_creation_functions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def eye(
134134
n_cols: Optional[int] = None,
135135
/,
136136
*,
137-
k: Optional[int] = 0,
137+
k: int = 0,
138138
dtype: Optional[Dtype] = None,
139139
device: Optional[Device] = None,
140140
) -> Array:

0 commit comments

Comments
 (0)