(self)
return line
Make iterable for Python 3.
Make iterable for Python 3.
Make iterable for Python 3 .
def __next__(self):
        """Make iterable for Python 3."""
        line = self.readline()
        if not line:
            raise StopIteration()
        return line
def __next__ ( self ) : line = self . readline ( ) if not line : raise StopIteration ( ) return line