def strip(line):
    """Removes any `\\\\r` or `\\\\n` from line and remove trailing whitespaces
    
    Parameters
    ----------
    line: :obj:`str`
        
    
    Returns
    -------
    str
        the stripped line.
        
    """
    return line.replace('\r\n', '').strip()
