Skip to content

Commit baf6880

Browse files
committed
nit
1 parent ae0bf1f commit baf6880

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/array_api_extra/_lib/_testing.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,7 @@ def _check_ns_shape_dtype(
103103

104104
def _is_materializable(x: Array) -> bool:
105105
"""
106-
Check if the array is materializable, e.g. `as_numpy_array` can be called on it
107-
and one can assume that `__dlpack__` will succeed (if implemented, and given a
108-
compatible device).
106+
Return True if you can call `as_numpy_array(x)`; False otherwise.
109107
"""
110108
# Important: here we assume that we're not tracing -
111109
# e.g. we're not inside `jax.jit`` nor `cupy.cuda.Stream.begin_capture`.

0 commit comments

Comments
 (0)