def readlines(self, sizehint=None):
        result = []
        for line in self:
            result.append(line)
            if sizehint is not None:
                sizehint -= len(line)
                if sizehint <= 0:
                    break
        return result
Read multiple lines.
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/_ProxyFile.readlines