def _trim_value(self, value):
if value[<NUM_LIT:0>] == '<STR_LIT:">':<EOL><INDENT>assert value[-<NUM_LIT:1>] == '<STR_LIT:">'<EOL>value = value[<NUM_LIT:1>:-<NUM_LIT:1>].replace('<STR_LIT>', '<STR_LIT:">').replace("<STR_LIT>", "<STR_LIT:\\>")<EOL>return Parser._unescape_re.sub(Parser._unescape_fn, value)<EOL><DEDENT>return value<EOL>
Trim double quotes off the ends of a value, un-escaping inner
        double quotes and literal backslashes. Also convert escapes to unicode.
        If the string is not quoted, return it unmodified.