[Numpy-svn] r3875 - trunk/numpy/numarray

numpy-svn@scip... numpy-svn@scip...
Tue Jun 19 19:30:13 CDT 2007


Author: fperez
Date: 2007-06-19 19:30:11 -0500 (Tue, 19 Jun 2007)
New Revision: 3875

Modified:
   trunk/numpy/numarray/functions.py
Log:
Small fix for numpy.info(), which was unconditionally broken

Modified: trunk/numpy/numarray/functions.py
===================================================================
--- trunk/numpy/numarray/functions.py	2007-06-17 19:17:58 UTC (rev 3874)
+++ trunk/numpy/numarray/functions.py	2007-06-20 00:30:11 UTC (rev 3875)
@@ -376,7 +376,7 @@
     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 ['|','=']:



More information about the Numpy-svn mailing list