diff options
Diffstat (limited to 'numpy/doc/subclassing.py')
-rw-r--r-- | numpy/doc/subclassing.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/doc/subclassing.py b/numpy/doc/subclassing.py index b6c742a2b..ea6de2ccf 100644 --- a/numpy/doc/subclassing.py +++ b/numpy/doc/subclassing.py @@ -511,6 +511,10 @@ checks based on the input that may be desired before computation begins. Like ``__array_wrap__``, ``__array_prepare__`` must return an ndarray or subclass thereof or raise an error. +.. note:: As of numpy 1.13, there also is a new, more powerful method to + handle how a subclass deals with ufuncs, ``__array_ufunc__``. For details, + see the reference section. + Extra gotchas - custom ``__del__`` methods and ndarray.base ----------------------------------------------------------- |