def next(self):
        line = self.readline()
        if (line == None) or (len(line) == 0):
            raise StopIteration
        return line
A file object is its own iterator.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/grizzled/grizzled/io/__init__.py/PushbackFile.next