diff options
author | Fernando Perez <fperez@fperez.org> | 2007-06-20 00:30:11 +0000 |
---|---|---|
committer | Fernando Perez <fperez@fperez.org> | 2007-06-20 00:30:11 +0000 |
commit | 4c49c1891382a2320ab8c3dcfce0e80487906cff (patch) | |
tree | 35e92339365a2c5465b9d6ad9147f146230db827 /numpy/numarray/functions.py | |
parent | af6c835e84611aad64627c8b53d2d5b229fa5528 (diff) | |
download | numpy-4c49c1891382a2320ab8c3dcfce0e80487906cff.tar.gz |
Small fix for numpy.info(), which was unconditionally broken
Diffstat (limited to 'numpy/numarray/functions.py')
-rw-r--r-- | numpy/numarray/functions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/numarray/functions.py b/numpy/numarray/functions.py index afb5ce875..6e54456de 100644 --- a/numpy/numarray/functions.py +++ b/numpy/numarray/functions.py @@ -376,7 +376,7 @@ def info(obj, output=sys.stdout, numpy=0): else: extra = "" tic = "" - print >> output, "data pointer: %s%s" % (hex(obj.ctypes._as_parameter_), extra) + print >> output, "data pointer: %s%s" % (hex(obj.ctypes._as_parameter_.value), extra) print >> output, "byteorder: ", endian = obj.dtype.byteorder if endian in ['|','=']: |