(self)
return result
Return a list with all remaining lines.
Return a list with all remaining lines.
Return a list with all remaining lines .
def readlines(self):
        """Return a list with all remaining lines.
        """
        result = []
        while True:
            line = self.readline()
            if not line: break
            result.append(line)
        return result
def readlines ( self ) : result = [ ] while True : line = self . readline ( ) if not line : break result . append ( line ) return result