From dec6658cdc10a23ad0e733fb52a814306033d88c Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Wed, 30 Jul 2014 16:48:11 -0600 Subject: MAINT: Fixes for problems in numpy/lib revealed by pyflakes. Some of those problems look like potential coding errors. In those cases a Fixme comment was made and the offending code, usually an unused variable, was commented out. --- numpy/lib/user_array.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'numpy/lib/user_array.py') diff --git a/numpy/lib/user_array.py b/numpy/lib/user_array.py index f62f6db59..3dde538d8 100644 --- a/numpy/lib/user_array.py +++ b/numpy/lib/user_array.py @@ -141,12 +141,8 @@ class container(object): bitwise_or(self.array, other, self.array) return self - def __neg__(self): - return self._rc(-self.array) def __pos__(self): return self._rc(self.array) - def __abs__(self): - return self._rc(abs(self.array)) def __invert__(self): return self._rc(invert(self.array)) -- cgit v1.2.1