diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-04-01 07:48:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-01 07:48:11 +0300 |
commit | 9ccb42d02f7b3fb2b47854bbd4ab418676e6be42 (patch) | |
tree | 956c4204708f77f4ab92dbd22d9ef60588cefd3c /numpy/lib/index_tricks.py | |
parent | 3310cd0e8f1b36d7da8c1352441b1240be4bedc5 (diff) | |
parent | 30f83916c90317b43eb36280bb70a928a15b75e6 (diff) | |
download | numpy-9ccb42d02f7b3fb2b47854bbd4ab418676e6be42.tar.gz |
Merge pull request #15887 from mwtoews/next
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 |