def remove_quotes(self, value):
<EOL>if not value:<EOL><INDENT>return value<EOL><DEDENT>if value[<NUM_LIT:0>] == value[-<NUM_LIT:1>] == '<STR_LIT:">':<EOL><INDENT>return value[<NUM_LIT:1>:-<NUM_LIT:1>].replace('<STR_LIT>', '<STR_LIT:">')<EOL><DEDENT>if value[<NUM_LIT:0>] == value[-<NUM_LIT:1>] == "<STR_LIT:'>":<EOL><INDENT>return value[<NUM_LIT:1>:-<NUM_LIT:1>].replace("<STR_LIT>", "<STR_LIT:'>")<EOL><DEDENT>return value<EOL>
Remove any surrounding quotes from a value and unescape any contained
quotes of that type.