def quotestrip(word):
 if (not word):
  return None
 while ((word.startswith("'") and word.endswith("'")) or (word.startswith('"') and word.endswith('"'))):
  word = word[1:(-1)]
 return word

def quotestrip ( word ) : if ( not word ) : return None while ( ( word . startswith ( "'" ) and word . endswith ( "'" ) ) or ( word . startswith ( '"' ) and word . endswith ( '"' ) ) ) : word = word [ 1 : ( - 1 ) ] return word
remove quotes and/or double quotes around identifiers .