8000 ENH: implement nep 0015: merge multiarray and umath by mattip · Pull Request #10915 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: implement nep 0015: merge multiarray and umath #10915

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 12 commits into from
Aug 31, 2018
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
MAINT: remove code that codecov pointed out is superflous
  • Loading branch information
mattip committed Aug 21, 2018
commit 03e08148eb303c7799a18db78b8087f78e5cc2fc
5 changes: 1 addition & 4 deletions numpy/core/numeric.py
Original file line number Diff line number Diff line change
Expand Up @@ -2919,10 +2919,7 @@ def _setdef():

def extend_all(module):
existing = set(__all__)
try:
mall = getattr(module, '__all__')
except AttributeError:
mall = [k for k in module.__dict__.keys() if not k.startswith('_')]
mall = getattr(module, '__all__')
for a in mall:
if a not in existing:
__all__.append(a)
Expand Down
0