(self, sizehint=None, keepends=True)
return data.splitlines(keepends)
Read all lines available on the input stream
            and return them as list of lines.

            Line breaks are implemented using the codec's decoder
            method and are included in the list entries.

            sizehint, if given, is ignored since there is no efficient
            way to finding the true end-of-line.
Read all lines available on the input stream
            and return them as list of lines.
Read all lines available on the input stream and return them as list of lines .
def readlines(self, sizehint=None, keepends=True):

        """ Read all lines available on the input stream
            and return them as list of lines.

            Line breaks are implemented using the codec's decoder
            method and are included in the list entries.

            sizehint, if given, is ignored since there is no efficient
            way to finding the true end-of-line.

        """
        data = self.read()
        return data.splitlines(keepends)
def readlines ( self , sizehint = None , keepends = True ) : data = self . read ( ) return data . splitlines ( keepends )