def __iter__(self):
        """Get an iterator over the file's lines.
        """
        while True:
            line = self.readline()
            if not line:
                break
            yield line
Get an iterator over the file's lines.
        
product/gradle-plugin/src/main/python/pip/_vendor/distlib/_backport/tarfile.py