diff options
author | Matti Picus <matti.picus@gmail.com> | 2022-03-10 18:14:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 18:14:42 +0200 |
commit | 3135e1f2a3feb318295e780823d5436d1a9224f0 (patch) | |
tree | 199608e3d6f0c683003ad82384f5507a3d8dc48b /numpy/array_api/_creation_functions.py | |
parent | fa0881fe14ab735c4ac1822767cc2f024f650130 (diff) | |
parent | 586d675040977574c81bfadd9b1304e056a040c5 (diff) | |
download | numpy-3135e1f2a3feb318295e780823d5436d1a9224f0.tar.gz |
Merge pull request #21145 from tirthasheshpatel/fix-gh20743
MAINT, DOC: make np._from_dlpack public
Diffstat (limited to 'numpy/array_api/_creation_functions.py')
-rw-r--r-- | numpy/array_api/_creation_functions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/array_api/_creation_functions.py b/numpy/array_api/_creation_functions.py index 741498ff6..3b014d37b 100644 --- a/numpy/array_api/_creation_functions.py +++ b/numpy/array_api/_creation_functions.py @@ -154,7 +154,7 @@ def eye( def from_dlpack(x: object, /) -> Array: from ._array_object import Array - return Array._new(np._from_dlpack(x)) + return Array._new(np.from_dlpack(x)) def full( |