def url_encode(obj, charset='utf-8', encode_keys=False, sort=False, key=None, separator='&'):
 separator = to_native(separator, 'ascii')
 return separator.join(_url_encode_impl(obj, charset, encode_keys, sort, key))

def url_encode ( obj , charset = 'utf-8' , encode_keys = False , sort = False , key = None , separator = '&' ) : separator = to_native ( separator , 'ascii' ) return separator . join ( _url_encode_impl ( obj , charset , encode_keys , sort , key ) )
url encode a dict/multidict .