(self, size=-1)
return self._buffer.readlines(size)
Read a list of lines of uncompressed bytes from the file.

        size can be specified to control the number of lines read: no
        further lines will be read once the total size of the lines read
        so far equals or exceeds size.
Read a list of lines of uncompressed bytes from the file.
Read a list of lines of uncompressed bytes from the file .
def readlines(self, size=-1):
        """Read a list of lines of uncompressed bytes from the file.

        size can be specified to control the number of lines read: no
        further lines will be read once the total size of the lines read
        so far equals or exceeds size.
        """
        if not isinstance(size, int):
            if not hasattr(size, "__index__"):
                raise TypeError("Integer argument expected")
            size = size.__index__()
        self._check_can_read()
        return self._buffer.readlines(size)
def readlines ( self , size = - 1 ) : if not isinstance ( size , int ) : if not hasattr ( size , "__index__" ) : raise TypeError ( "Integer argument expected" ) size = size . __index__ ( ) self . _check_can_read ( ) return self . _buffer . readlines ( size )