(line)
return first, rest
Split the line, and return (first_word, the_rest).
Split the line, and return (first_word, the_rest).
Split the line and return ( first_word the_rest ) .
def _separate_keyword(line):
    """Split the line, and return (first_word, the_rest)."""
    try:
        first, rest = line.split(None, 1)
    except ValueError:
        first = line.strip()
        rest = ''
    return first, rest
def _separate_keyword ( line ) : try : first , rest = line . split ( None , 1 ) except ValueError : first = line . strip ( ) rest = '' return first , rest