summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-05 02:01:26 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-05 02:01:26 +0000
commit50c0c443d4a6aef02460052090daf5470b13ee7c (patch)
treef33c2e40c9841c7c9bea33aca75c3397736cd9a3 /numpy/core/fromnumeric.py
parent87cb586ef026ce7d0bfc7c776c91843d23c1d806 (diff)
downloadnumpy-50c0c443d4a6aef02460052090daf5470b13ee7c.tar.gz
Final fixes to oldnumeric
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 98291f411..689bc2eff 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -239,7 +239,7 @@ def nonzero(a):
res = _wrapit(a, 'nonzero')
else:
res = nonzero()
- return res
+ return res[0]
def shape(a):