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

numpy-svn at scipy.org numpy-svn at scipy.org
Thu Aug 10 20:58:49 CDT 2006


Author: oliphant
Date: 2006-08-10 20:58:47 -0500 (Thu, 10 Aug 2006)
New Revision: 2994

Modified:
   trunk/numpy/core/defchararray.py
Log:
Fix silly mistake in chararray.

Modified: trunk/numpy/core/defchararray.py
===================================================================
--- trunk/numpy/core/defchararray.py	2006-08-10 23:31:53 UTC (rev 2993)
+++ trunk/numpy/core/defchararray.py	2006-08-11 01:58:47 UTC (rev 2994)
@@ -45,6 +45,7 @@
         val = ndarray.__getitem__(self, obj)
         if isinstance(val, (string_, unicode_)):
             return val.rstrip()
+        return val
 
     def __add__(self, other):
         b = broadcast(self, other)



More information about the Numpy-svn mailing list