Skip to content

Commit c736126

Browse files
authored
Update array_api_compat/common/_helpers.py
1 parent 1ef2b00 commit c736126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_compat/common/_helpers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ def is_lazy_array(x) -> bool:
871871
return False
872872
# The Array API standard dictactes that __bool__ should raise TypeError if the
873873
# output cannot be defined.
874-
# Here we're more lenient and allow for it to raise anything else, e.g. like Dask does.
874+
# Here we allow for it to raise arbitrary exceptions, e.g. like Dask does.
875875
except Exception:
876876
return True
877877

0 commit comments

Comments
 (0)