def unquote(string):
 if (not string):
  return string
 if (string[0] in '"\''):
  string = string[1:]
 if (string[(-1)] in '"\''):
  string = string[:(-1)]
 return string

def unquote ( string ) : if ( not string ) : return string if ( string [ 0 ] in '"\'' ) : string = string [ 1 : ] if ( string [ ( - 1 ) ] in '"\'' ) : string = string [ : ( - 1 ) ] return string
undo the effects of quote() .