diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2017-02-10 10:52:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-10 10:52:07 -0700 |
commit | 1b877254af0850d025cdc5d07b3fcaa1614dbe4b (patch) | |
tree | 8c16bd152cf3328515bd9502c19b0ca369d12d45 /numpy/lib/user_array.py | |
parent | b52be49a702862a44f18237c5a9a6c7f5173ddab (diff) | |
parent | 5e3fb00b37f5b1c752f6f44c5717b2d84ee7daff (diff) | |
download | numpy-1b877254af0850d025cdc5d07b3fcaa1614dbe4b.tar.gz |
Merge pull request #8592 from eric-wieser/remove-setslice
MAINT: Remove __setslice__ and __getslice__
Diffstat (limited to 'numpy/lib/user_array.py')
-rw-r--r-- | numpy/lib/user_array.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/numpy/lib/user_array.py b/numpy/lib/user_array.py index 3103da57b..62398fc3c 100644 --- a/numpy/lib/user_array.py +++ b/numpy/lib/user_array.py @@ -51,15 +51,9 @@ class container(object): def __getitem__(self, index): return self._rc(self.array[index]) - def __getslice__(self, i, j): - return self._rc(self.array[i:j]) - def __setitem__(self, index, value): self.array[index] = asarray(value, self.dtype) - def __setslice__(self, i, j, value): - self.array[i:j] = asarray(value, self.dtype) - def __abs__(self): return self._rc(absolute(self.array)) |