summaryrefslogtreecommitdiff
path: root/numpy/core/defchararray.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-11 01:58:47 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-11 01:58:47 +0000
commitb963f883d4db71676ee9be260f63f38f6aead8e6 (patch)
tree105a0e87ec468ff7aa6d332fcadce9127e1b0282 /numpy/core/defchararray.py
parent6628b4156a2a7ee74cf284cbdb765dc5a06ddbc2 (diff)
downloadnumpy-b963f883d4db71676ee9be260f63f38f6aead8e6.tar.gz
Fix silly mistake in chararray.
Diffstat (limited to 'numpy/core/defchararray.py')
-rw-r--r--numpy/core/defchararray.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/defchararray.py b/numpy/core/defchararray.py
index 23a2c9e98..20f26f7c3 100644
--- a/numpy/core/defchararray.py
+++ b/numpy/core/defchararray.py
@@ -45,6 +45,7 @@ class chararray(ndarray):
val = ndarray.__getitem__(self, obj)
if isinstance(val, (string_, unicode_)):
return val.rstrip()
+ return val
def __add__(self, other):
b = broadcast(self, other)