From ae6aa8d4d2527cc6810cc1e430269719f81e821b Mon Sep 17 00:00:00 2001 From: Darren Dale Date: Tue, 25 Aug 2009 18:04:01 +0000 Subject: add comment about __array_prepare__ to 1.4 release notes --- numpy/doc/subclassing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/doc/subclassing.py') diff --git a/numpy/doc/subclassing.py b/numpy/doc/subclassing.py index 5f658d922..24f0108d7 100644 --- a/numpy/doc/subclassing.py +++ b/numpy/doc/subclassing.py @@ -420,8 +420,8 @@ So: .. _array-wrap: -``__array_wrap__`` for ufuncs ------------------------------ +``__array_prepare__`` and ``__array_wrap__`` for ufuncs +------------------------------------------------------- ``__array_wrap__`` gets called at the end of numpy ufuncs and other numpy functions, to allow a subclass to set the type of the return value -- cgit v1.2.1