summaryrefslogtreecommitdiff
path: root/numpy/doc
diff options
context:
space:
mode:
authorMarten van Kerkwijk <mhvk@astro.utoronto.ca>2017-05-12 10:13:39 -0400
committerMarten van Kerkwijk <mhvk@astro.utoronto.ca>2017-05-17 21:13:06 -0400
commitca49f0b11bc88056bf4767ac439b298cfda16fed (patch)
treef6109a40f862a9cb604d9328af9c74db6dec41d7 /numpy/doc
parent18bac353f667da6969716b60f3d3315ffd0b7aaa (diff)
downloadpython-numpy-ca49f0b11bc88056bf4767ac439b298cfda16fed.tar.gz
python-numpy-ca49f0b11bc88056bf4767ac439b298cfda16fed.tar.bz2
python-numpy-ca49f0b11bc88056bf4767ac439b298cfda16fed.zip
DOC: update documentation allowing tuple of one in reduce, etc.
Diffstat (limited to 'numpy/doc')
-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: