Skip to content

Commit 2198a35

Browse files
committed
Grammar
1 parent 5cbbace commit 2198a35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/array_api_extra/_lib/_funcs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,8 @@ def one_hot(
389389
x_size = x.size
390390
if x_size is None: # pragma: no cover
391391
# This cannot be tested because there is no way to create an array with abstract
392-
# size today. However, it must be blocked for the sake of type-checking and
393-
# future-proofing since x.size is allowed to None according to the
392+
# size today. However, it is blocked for the sake of type-checking and
393+
# future-proofing since x.size is allowed to be None according to the
394394
# specification.
395395
msg = "x must have a concrete size."
396396
raise TypeError(msg)

0 commit comments

Comments
 (0)