diff options
| author | Nathaniel J. Smith <njs@pobox.com> | 2014-06-19 16:25:29 +0100 |
|---|---|---|
| committer | Nathaniel J. Smith <njs@pobox.com> | 2014-06-19 16:25:29 +0100 |
| commit | fe3410f7380c06adc81fb8e097c96dc51a42e0f3 (patch) | |
| tree | 4431b8f7484327f5342f489e916063f1a6a797a3 /numpy | |
| parent | 133d4f464ed3cb8639afc075c8c097a2c6594b6d (diff) | |
| parent | 621c0a6d49e369c5813a2d89d73a6e81093d9f54 (diff) | |
| download | numpy-fe3410f7380c06adc81fb8e097c96dc51a42e0f3.tar.gz | |
Merge pull request #4816 from juliantaylor/star-import
MAINT: move star imports to end of numeric.py
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/numeric.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index a85e8514c..12e690f1e 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -6,9 +6,11 @@ import warnings import collections from . import multiarray from . import umath -from .umath import * +from .umath import (invert, sin, UFUNC_BUFSIZE_DEFAULT, ERR_IGNORE, + ERR_WARN, ERR_RAISE, ERR_CALL, ERR_PRINT, ERR_LOG, + ERR_DEFAULT, PINF, NAN) from . import numerictypes -from .numerictypes import * +from .numerictypes import longlong, intc, int_, float_, complex_, bool_ if sys.version_info[0] >= 3: import pickle @@ -356,9 +358,6 @@ def extend_all(module): if a not in adict: __all__.append(a) -extend_all(umath) -extend_all(numerictypes) - newaxis = None @@ -2832,6 +2831,10 @@ nan = NaN = NAN False_ = bool_(False) True_ = bool_(True) +from .umath import * +from .numerictypes import * from . import fromnumeric from .fromnumeric import * extend_all(fromnumeric) +extend_all(umath) +extend_all(numerictypes) |
