diff options
author | Marten van Kerkwijk <mhvk@astro.utoronto.ca> | 2017-05-12 10:13:39 -0400 |
---|---|---|
committer | Marten van Kerkwijk <mhvk@astro.utoronto.ca> | 2017-05-17 21:13:06 -0400 |
commit | ca49f0b11bc88056bf4767ac439b298cfda16fed (patch) | |
tree | f6109a40f862a9cb604d9328af9c74db6dec41d7 /numpy/doc | |
parent | 18bac353f667da6969716b60f3d3315ffd0b7aaa (diff) | |
download | python-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.py | 2 |
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: |