capybara/virtualenv/lib/python2.7/site-packages/lxml/html/diff.py
def split_trailing_whitespace(word):
    """
    This function takes a word, such as 'test\n\n' and returns ('test','\n\n')
    """
    stripped_length = len(word.rstrip())
    return word[0:stripped_length], word[stripped_length:]
def split_trailing_whitespace(word):
    """
    This function takes a word, such as 'test\n\n' and returns ('test','\n\n')
    """
    stripped_length = len(word.rstrip())
    return word[0:stripped_length], word[stripped_length:]
def split_trailing_whitespace ( word ) : stripped_length = len ( word . rstrip ( ) ) return word [ 0 : stripped_length ] , word [ stripped_length : ]
This function takes a word, such as 'test\n\n' and returns ('test','\n\n')
This function takes a word such as test \ n \ n and returns ( test \ n \ n )