[Numpy-svn] r3249 - trunk/numpy/core

numpy-svn at scipy.org numpy-svn at scipy.org
Tue Oct 3 10:52:46 CDT 2006


Author: oliphant
Date: 2006-10-03 10:52:44 -0500 (Tue, 03 Oct 2006)
New Revision: 3249

Modified:
   trunk/numpy/core/records.py
Log:
Fix typo.

Modified: trunk/numpy/core/records.py
===================================================================
--- trunk/numpy/core/records.py	2006-10-03 15:15:54 UTC (rev 3248)
+++ trunk/numpy/core/records.py	2006-10-03 15:52:44 UTC (rev 3249)
@@ -291,7 +291,7 @@
 
     if dtype is not None:
         descr = sb.dtype(dtype)
-        _names = dtype.names
+        _names = descr.names
     else:
         parsed = format_parser(formats, names, titles, aligned, byteorder)
         _names = parsed._names



More information about the Numpy-svn mailing list