10000 ENH: Add annotations for five array construction functions by BvB93 · Pull Request #17326 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: Add annotations for five array construction functions #17326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Oct 1, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ENH: Update the np.__all__
  • Loading branch information
Bas van Beek committed Oct 1, 2020
commit da2a85480b7920b059f1cf0b82c2fe98ea798bee
13 changes: 13 additions & 0 deletions numpy/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -152,6 +160,11 @@ __all__ = [
"mean",
"std",
"var",
"asarray",
"asanyarray",
"ascontiguousarray",
"asfortranarray",
"require",
]

DataSource: Any
Expand Down
0