diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2014-07-30 16:48:11 -0600 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-07-31 21:21:13 +0200 |
commit | dec6658cdc10a23ad0e733fb52a814306033d88c (patch) | |
tree | dfa2a5d879f9ec10f75287a045070729cf415432 /numpy/lib/user_array.py | |
parent | 0b5a6645ee110a8d4c6b5defd8c01791ee48bda1 (diff) | |
download | numpy-dec6658cdc10a23ad0e733fb52a814306033d88c.tar.gz |
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.
Diffstat (limited to 'numpy/lib/user_array.py')
-rw-r--r-- | numpy/lib/user_array.py | 4 |
1 files changed, 0 insertions, 4 deletions
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)) |