(url, encoding=None)
return urlparse(to_unicode(url, encoding))
Return urlparsed url from the given argument (which could be an already
    parsed url)
Return urlparsed url from the given argument (which could be an already
    parsed url)
Return urlparsed url from the given argument ( which could be an already parsed url )
def parse_url(url, encoding=None):
    """Return urlparsed url from the given argument (which could be an already
    parsed url)
    """
    if isinstance(url, ParseResult):
        return url
    return urlparse(to_unicode(url, encoding))
def parse_url ( url , encoding = None ) : if isinstance ( url , ParseResult ) : return url return urlparse ( to_unicode ( url , encoding ) )