diff options
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) |