diff options
author | Stefan van der Walt <stefan@sun.ac.za> | 2007-01-08 21:56:54 +0000 |
---|---|---|
committer | Stefan van der Walt <stefan@sun.ac.za> | 2007-01-08 21:56:54 +0000 |
commit | 1bd2d49ef378fb869d015cef32c3e44a4c03a8f0 (patch) | |
tree | 43335baf1da0b6e9de0ad806e721a077e3cbfa45 /numpy/core/defchararray.py | |
parent | 98b6d48b07f4eadfb7d1fc41483debe7e07eecd6 (diff) | |
download | numpy-1bd2d49ef378fb869d015cef32c3e44a4c03a8f0.tar.gz |
Whitespace cleanup.
Diffstat (limited to 'numpy/core/defchararray.py')
-rw-r--r-- | numpy/core/defchararray.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/numpy/core/defchararray.py b/numpy/core/defchararray.py index c77ec30be..4ce06b247 100644 --- a/numpy/core/defchararray.py +++ b/numpy/core/defchararray.py @@ -38,7 +38,7 @@ class chararray(ndarray): return self def __array_finalize__(self, obj): - # The b is a special case because it is used for reconstructing. + # The b is a special case because it is used for reconstructing. if not _globalvar and self.dtype.char not in 'SUb': raise ValueError, "Can only create a chararray from string data." @@ -52,23 +52,23 @@ class chararray(ndarray): val = temp return val - def __eq__(self, other): + def __eq__(self, other): return compare_chararrays(self, other, '==', True) - def __ne__(self, other): + def __ne__(self, other): return compare_chararrays(self, other, '!=', True) def __ge__(self, other): - return compare_chararrays(self, other, '>=', True) + return compare_chararrays(self, other, '>=', True) def __le__(self, other): - return compare_chararrays(self, other, '<=', True) + return compare_chararrays(self, other, '<=', True) def __gt__(self, other): return compare_chararrays(self, other, '>', True) def __lt__(self, other): - return compare_chararrays(self, other, '<', True) + return compare_chararrays(self, other, '<', True) def __add__(self, other): b = broadcast(self, other) |