diff options
author | Tirth Patel <tirthasheshpatel@gmail.com> | 2022-03-03 13:00:28 +0530 |
---|---|---|
committer | Tirth Patel <tirthasheshpatel@gmail.com> | 2022-03-03 13:06:23 +0530 |
commit | 945e0aee51a316abb77284f2c4206f8f1d963480 (patch) | |
tree | 7e909e63f11ed4e78c3cd1f7a41007c58b95f4a0 /numpy/core/multiarray.py | |
parent | b7529e6bac6e7b8a785aa0e1612aa54927adac41 (diff) | |
download | numpy-945e0aee51a316abb77284f2c4206f8f1d963480.tar.gz |
MAINT: make np._from_dlpack public
Diffstat (limited to 'numpy/core/multiarray.py')
-rw-r--r-- | numpy/core/multiarray.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/multiarray.py b/numpy/core/multiarray.py index f88d75978..1a37ed3e1 100644 --- a/numpy/core/multiarray.py +++ b/numpy/core/multiarray.py @@ -14,7 +14,7 @@ from ._multiarray_umath import * # noqa: F403 # do not change them. issue gh-15518 # _get_ndarray_c_version is semi-public, on purpose not added to __all__ from ._multiarray_umath import ( - _fastCopyAndTranspose, _flagdict, _from_dlpack, _insert, _reconstruct, + _fastCopyAndTranspose, _flagdict, from_dlpack, _insert, _reconstruct, _vec_string, _ARRAY_API, _monotonicity, _get_ndarray_c_version, _set_madvise_hugepage, ) @@ -24,7 +24,7 @@ __all__ = [ 'ITEM_HASOBJECT', 'ITEM_IS_POINTER', 'LIST_PICKLE', 'MAXDIMS', 'MAY_SHARE_BOUNDS', 'MAY_SHARE_EXACT', 'NEEDS_INIT', 'NEEDS_PYAPI', 'RAISE', 'USE_GETITEM', 'USE_SETITEM', 'WRAP', '_fastCopyAndTranspose', - '_flagdict', '_from_dlpack', '_insert', '_reconstruct', '_vec_string', + '_flagdict', 'from_dlpack', '_insert', '_reconstruct', '_vec_string', '_monotonicity', 'add_docstring', 'arange', 'array', 'asarray', 'asanyarray', 'ascontiguousarray', 'asfortranarray', 'bincount', 'broadcast', 'busday_count', 'busday_offset', 'busdaycalendar', 'can_cast', @@ -47,7 +47,7 @@ _reconstruct.__module__ = 'numpy.core.multiarray' scalar.__module__ = 'numpy.core.multiarray' -_from_dlpack.__module__ = 'numpy' +from_dlpack.__module__ = 'numpy' arange.__module__ = 'numpy' array.__module__ = 'numpy' asarray.__module__ = 'numpy' |