Skip to content

Commit e5c981b

Browse files
Fix typos (#417)
1 parent fa2fcc5 commit e5c981b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

array_api_compat/common/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ def is_lazy_array(x: object) -> TypeGuard[_ArrayApiObj]:
10541054
try:
10551055
bool(x)
10561056
return False
1057-
# The Array API standard dictactes that __bool__ should raise TypeError if the
1057+
# The Array API standard dictates that __bool__ should raise TypeError if the
10581058
# output cannot be defined.
10591059
# Here we allow for it to raise arbitrary exceptions, e.g. like Dask does.
10601060
except Exception:

docs/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ Thomas Li
257257
than setting the conjugation bit, as arrays with the conjugation bit set do
258258
not support some APIs.
259259

260-
- `torch.sign` is now wrapped to support complex numbers and propogate nans
260+
- `torch.sign` is now wrapped to support complex numbers and propagate nans
261261
properly.
262262

263263
### Minor Changes

torch-xfails.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Indexing does not support negative step
77
array_api_tests/test_array_object.py::test_getitem
88
array_api_tests/test_array_object.py::test_setitem
9-
# Masking doesn't suport 0 dimensions in the mask
9+
# Masking doesn't support 0 dimensions in the mask
1010
array_api_tests/test_array_object.py::test_getitem_masking
1111

1212
# Overflow error from large inputs

0 commit comments

Comments
 (0)