Skip to content

Commit 45c0c17

Browse files
MAINT: make np._from_dlpack public
Original NumPy Commit: 945e0aee51a316abb77284f2c4206f8f1d963480
1 parent ca88431 commit 45c0c17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_strict/_creation_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def eye(
154154
def from_dlpack(x: object, /) -> Array:
155155
from ._array_object import Array
156156

157-
return Array._new(np._from_dlpack(x))
157+
return Array._new(np.from_dlpack(x))
158158

159159

160160
def full(

0 commit comments

Comments
 (0)