diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-08-11 01:58:47 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-08-11 01:58:47 +0000 |
commit | b963f883d4db71676ee9be260f63f38f6aead8e6 (patch) | |
tree | 105a0e87ec468ff7aa6d332fcadce9127e1b0282 /numpy/core/defchararray.py | |
parent | 6628b4156a2a7ee74cf284cbdb765dc5a06ddbc2 (diff) | |
download | numpy-b963f883d4db71676ee9be260f63f38f6aead8e6.tar.gz |
Fix silly mistake in chararray.
Diffstat (limited to 'numpy/core/defchararray.py')
-rw-r--r-- | numpy/core/defchararray.py | 1 |
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) |