def next(self):
        _complain_ifclosed(self.closed)
        r = self.readline()
        if not r:
            raise StopIteration
        return r
A file object is its own iterator, for example iter(f) returns f
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/io.py/StringIO.next