code: 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
docs: Remove quotes from a string.