We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ef2b00 commit c736126Copy full SHA for c736126
array_api_compat/common/_helpers.py
@@ -871,7 +871,7 @@ def is_lazy_array(x) -> bool:
871
return False
872
# The Array API standard dictactes that __bool__ should raise TypeError if the
873
# output cannot be defined.
874
- # Here we're more lenient and allow for it to raise anything else, e.g. like Dask does.
+ # Here we allow for it to raise arbitrary exceptions, e.g. like Dask does.
875
except Exception:
876
return True
877
0 commit comments