(url)
return url
Transform a string like '<URL:scheme://host/path>' into 'scheme://host/path'.

    The string is returned unchanged if it's not a wrapped URL.
Transform a string like '<URL:scheme://host/path>' into 'scheme://host/path'.
Transform a string like <URL : scheme : // host / path > into scheme : // host / path .
def unwrap(url):
    """Transform a string like '<URL:scheme://host/path>' into 'scheme://host/path'.

    The string is returned unchanged if it's not a wrapped URL.
    """
    url = str(url).strip()
    if url[:1] == '<' and url[-1:] == '>':
        url = url[1:-1].strip()
    if url[:4] == 'URL:':
        url = url[4:].strip()
    return url
def unwrap ( url ) : url = str ( url ) . strip ( ) if url [ : 1 ] == '<' and url [ - 1 : ] == '>' : url = url [ 1 : - 1 ] . strip ( ) if url [ : 4 ] == 'URL:' : url = url [ 4 : ] . strip ( ) return url