(str)
return str
Remove quotes from a string.
Remove quotes from a string.
Remove quotes from a string .
def unquote(str):
    """Remove quotes from a string."""
    if len(str) > 1:
        if str.startswith('"') and str.endswith('"'):
            return str[1:-1].replace('\\\\', '\\').replace('\\"', '"')
        if str.startswith('<') and str.endswith('>'):
            return str[1:-1]
    return str
def unquote ( str ) : if len ( str ) > 1 : if str . startswith ( '"' ) and str . endswith ( '"' ) : return str [ 1 : - 1 ] . replace ( '\\\\' , '\\' ) . replace ( '\\"' , '"' ) if str . startswith ( '<' ) and str . endswith ( '>' ) : return str [ 1 : - 1 ] return str