diff options
Diffstat (limited to 'numpy/lib/index_tricks.py')
-rw-r--r-- | numpy/lib/index_tricks.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py index a0875a25f..f573cd4c6 100644 --- a/numpy/lib/index_tricks.py +++ b/numpy/lib/index_tricks.py @@ -209,9 +209,6 @@ class nd_grid(object): else: return _nx.arange(start, stop, step) - def __getslice__(self, i, j): - return _nx.arange(i, j) - def __len__(self): return 0 @@ -338,10 +335,6 @@ class AxisConcatenator(object): res = _nx.concatenate(tuple(objs), axis=self.axis) return self._retval(res) - def __getslice__(self, i, j): - res = _nx.arange(i, j) - return self._retval(res) - def __len__(self): return 0 |