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/linalg/lapack_lite | |
parent | 18bfeaf2716001afa8785638a75f90259dbc8aa1 (diff) | |
download | numpy-30f83916c90317b43eb36280bb70a928a15b75e6.tar.gz |
MAINT: Clean-up 'next = __next__' used for Python 2 compatibility
Diffstat (limited to 'numpy/linalg/lapack_lite')
-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. |