(s, buffer)
return lines[:-1], lines[-1]
splitLines(s, buffer) -> lines, buffer

    Append s to buffer and find any new lines of text in the
    string splitting at the standard IRC delimiter CRLF. Any
    new lines found, return them as a list and the remaining
    buffer for further processing.
splitLines(s, buffer) -> lines, buffer
splitLines ( s buffer ) - > lines buffer
def splitLines(s, buffer):
    """splitLines(s, buffer) -> lines, buffer

    Append s to buffer and find any new lines of text in the
    string splitting at the standard IRC delimiter CRLF. Any
    new lines found, return them as a list and the remaining
    buffer for further processing.
    """

    lines = LINESEP.split(buffer + s)
    return lines[:-1], lines[-1]
def splitLines ( s , buffer ) : lines = LINESEP . split ( buffer + s ) return lines [ : - 1 ] , lines [ - 1 ]