From 1bd2d49ef378fb869d015cef32c3e44a4c03a8f0 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Mon, 8 Jan 2007 21:56:54 +0000 Subject: Whitespace cleanup. --- numpy/core/defchararray.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'numpy/core/defchararray.py') 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) -- cgit v1.2.1