summaryrefslogtreecommitdiff
path: root/numpy/lib/utils.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-29 10:28:11 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-29 10:28:11 +0000
commit775a47de7e2f4b039592d614e7ac3fda464975a8 (patch)
tree6ec0d74f0505ba0e60f3ee01af70b4669ec38475 /numpy/lib/utils.py
parentce7a968a7b5cdb328ca1ea222211ad9cd8e506ad (diff)
downloadnumpy-775a47de7e2f4b039592d614e7ac3fda464975a8.tar.gz
Add axis arguments to various functions so as not to rely on the defaults.
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 db7c00db6..deca8fa06 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))
+ bytestr = str(var.itemsize*product(var.shape,axis=0))
sta.append([namestr, shapestr, bytestr, var.dtype.name,
original])