summaryrefslogtreecommitdiff
path: root/numpy/lib/utils.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-29 17:56:21 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-29 17:56:21 +0000
commit63326185c04be2795a7a33028d427e9c8c31c900 (patch)
tree62fb5b9f5f7b6e518346fa0893e408fa24755021 /numpy/lib/utils.py
parent064c8eb43637e920f6019215b00ef1593d74b0c1 (diff)
downloadnumpy-63326185c04be2795a7a33028d427e9c8c31c900.tar.gz
Clean-up some un-needed default axes. Fix default axes of ma.sum and ma.product
Diffstat (limited to 'numpy/lib/utils.py')
-rw-r--r--numpy/lib/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/utils.py b/numpy/lib/utils.py
index deca8fa06..db7c00db6 100644
--- a/numpy/lib/utils.py
+++ b/numpy/lib/utils.py
@@ -126,7 +126,7 @@ def who(vardict=None):
namestr = name
original=1
shapestr = " x ".join(map(str, var.shape))
- bytestr = str(var.itemsize*product(var.shape,axis=0))
+ bytestr = str(var.itemsize*product(var.shape))
sta.append([namestr, shapestr, bytestr, var.dtype.name,
original])