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

numpy-svn@scip... numpy-svn@scip...
Tue Apr 3 18:13:40 CDT 2007


Author: oliphant
Date: 2007-04-03 18:13:30 -0500 (Tue, 03 Apr 2007)
New Revision: 3656

Modified:
   trunk/numpy/core/numerictypes.py
Log:
Add integer format codes to sctypeNA.  Fixes ticket #399

Modified: trunk/numpy/core/numerictypes.py
===================================================================
--- trunk/numpy/core/numerictypes.py	2007-04-03 22:33:54 UTC (rev 3655)
+++ trunk/numpy/core/numerictypes.py	2007-04-03 23:13:30 UTC (rev 3656)
@@ -228,7 +228,9 @@
             sctypeDict[charname] = typeobj
             sctypeDict[ucharname] = utypeobj
             sctypeNA[Intname] = typeobj
-            sctypeNA[UIntname] = utypeobj
+            sctypeNA[UIntname] = utypeobj            
+            sctypeNA[charname] = typeobj
+            sctypeNA[ucharname] = utypeobj
         sctypeNA[typeobj] = Intname
         sctypeNA[utypeobj] = UIntname
         sctypeNA[val[0]] = Intname



More information about the Numpy-svn mailing list