summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/__init__.pyi13
1 files changed, 13 insertions, 0 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi
index 6a1c5b72b..c9f45472d 100644
--- a/numpy/__init__.pyi
+++ b/numpy/__init__.pyi
@@ -107,6 +107,14 @@ from numpy.core.fromnumeric import (
var,
)
+from numpy.core._asarray import (
+ asarray,
+ asanyarray,
+ ascontiguousarray,
+ asfortranarray,
+ require,
+)
+
# Add an object to `__all__` if their stubs are defined in an external file;
# their stubs will not be recognized otherwise.
# NOTE: This is redundant for objects defined within this file.
@@ -152,6 +160,11 @@ __all__ = [
"mean",
"std",
"var",
+ "asarray",
+ "asanyarray",
+ "ascontiguousarray",
+ "asfortranarray",
+ "require",
]
DataSource: Any