summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2020-09-16 11:45:10 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2020-10-01 13:56:27 +0200
commitda2a85480b7920b059f1cf0b82c2fe98ea798bee (patch)
tree66b1000005a7332de2614404f78f79525d8dc9e7
parente142934543713507bab9418d53290d8896455b79 (diff)
downloadnumpy-da2a85480b7920b059f1cf0b82c2fe98ea798bee.tar.gz
ENH: Update the `np.__all__`
-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