diff options
author | Mike Taves <mwtoews@gmail.com> | 2020-04-01 11:14:07 +1300 |
---|---|---|
committer | Mike Taves <mwtoews@gmail.com> | 2020-04-01 11:14:07 +1300 |
commit | 30f83916c90317b43eb36280bb70a928a15b75e6 (patch) | |
tree | 873b938a691a2a9e154657548861a636648860fa /numpy/lib/index_tricks.py | |
parent | 18bfeaf2716001afa8785638a75f90259dbc8aa1 (diff) | |
download | numpy-30f83916c90317b43eb36280bb70a928a15b75e6.tar.gz |
MAINT: Clean-up 'next = __next__' used for Python 2 compatibility
Diffstat (limited to 'numpy/lib/index_tricks.py')
-rw-r--r-- | numpy/lib/index_tricks.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py index 0560bd36d..b4118814d 100644 --- a/numpy/lib/index_tricks.py +++ b/numpy/lib/index_tricks.py @@ -597,8 +597,6 @@ class ndenumerate: def __iter__(self): return self - next = __next__ - @set_module('numpy') class ndindex: @@ -665,8 +663,6 @@ class ndindex: next(self._it) return self._it.multi_index - next = __next__ - # You can do all this with slice() plus a few special objects, # but there's a lot to remember. This version is simpler because |