diff options
| author | Stephan Hoyer <shoyer@gmail.com> | 2017-04-21 09:35:45 -0700 |
|---|---|---|
| committer | Charles Harris <charlesr.harris@gmail.com> | 2017-04-27 13:37:51 -0600 |
| commit | 02600d38f3b2e70c3cd07770f93c3bac5255c8a6 (patch) | |
| tree | 36cf7474c136258dd69ce3bd54dc67c54ff105cf /numpy/lib/__init__.py | |
| parent | 1e460b74bac7da0d9029b1fd414213f00bb66c9f (diff) | |
| download | numpy-02600d38f3b2e70c3cd07770f93c3bac5255c8a6.tar.gz | |
ENH: Add NDArrayOperatorsMixin mixin class.
This mixin class provides an easy way to implement arithmetic operators
that defer to __array_ufunc__ like numpy.ndarray in non-ndarray
subclasses.
Diffstat (limited to 'numpy/lib/__init__.py')
| -rw-r--r-- | numpy/lib/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/lib/__init__.py b/numpy/lib/__init__.py index 1d65db55e..4cdb76b20 100644 --- a/numpy/lib/__init__.py +++ b/numpy/lib/__init__.py @@ -8,6 +8,7 @@ from numpy.version import version as __version__ from .type_check import * from .index_tricks import * from .function_base import * +from .mixins import * from .nanfunctions import * from .shape_base import * from .stride_tricks import * @@ -29,6 +30,7 @@ __all__ = ['emath', 'math'] __all__ += type_check.__all__ __all__ += index_tricks.__all__ __all__ += function_base.__all__ +__all__ += mixins.__all__ __all__ += shape_base.__all__ __all__ += stride_tricks.__all__ __all__ += twodim_base.__all__ |
