def parse_cookie(data):
 return ((k, v) for (k, v) in _parse_cookie(data) if _valid_cookie_name(k))

def parse_cookie ( data ) : return ( ( k , v ) for ( k , v ) in _parse_cookie ( data ) if _valid_cookie_name ( k ) )
parses and verifies a cookie value from set_cookie .