summaryrefslogtreecommitdiff
path: root/numpy/doc/subclassing.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-05-18 10:32:48 +0100
committerGitHub <noreply@github.com>2017-05-18 10:32:48 +0100
commit1ec9ad692e38654b70b77d92b74e841d7255e109 (patch)
treea4d8e5419cbb1ab6b2097349eb6db39b14975597 /numpy/doc/subclassing.py
parentfe16f8322e7a45269df7d1631e9ac6216d17f05f (diff)
parentca49f0b11bc88056bf4767ac439b298cfda16fed (diff)
downloadnumpy-1ec9ad692e38654b70b77d92b74e841d7255e109.tar.gz
Merge pull request #9106 from mhvk/array_ufunc_reduce_out_tuple
BUG: Array ufunc reduce out tuple
Diffstat (limited to 'numpy/doc/subclassing.py')
-rw-r--r--numpy/doc/subclassing.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/doc/subclassing.py b/numpy/doc/subclassing.py
index 36d8ff97d..51d9dc120 100644
--- a/numpy/doc/subclassing.py
+++ b/numpy/doc/subclassing.py
@@ -489,6 +489,8 @@ following.
return NotImplemented
if method == 'at':
+ if isinstance(inputs[0], A):
+ inputs[0].info = info
return
if ufunc.nout == 1: