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/linalg/lapack_lite/fortran.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/linalg/lapack_lite/fortran.py')
-rw-r--r-- | numpy/linalg/lapack_lite/fortran.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/linalg/lapack_lite/fortran.py b/numpy/linalg/lapack_lite/fortran.py index 388c88daa..3aaefb92f 100644 --- a/numpy/linalg/lapack_lite/fortran.py +++ b/numpy/linalg/lapack_lite/fortran.py @@ -44,8 +44,6 @@ class LineIterator: line = line.rstrip() return line - next = __next__ - class PushbackIterator: """PushbackIterator(iterable) @@ -71,8 +69,6 @@ class PushbackIterator: def pushback(self, item): self.buffer.append(item) - next = __next__ - def fortranSourceLines(fo): """Return an iterator over statement lines of a Fortran source file. |