def get_fontext_synonyms(fontext):
 return {'ttf': ('ttf', 'otf'), 'otf': ('ttf', 'otf'), 'afm': ('afm',)}[fontext]

def get_fontext_synonyms ( fontext ) : return { 'ttf' : ( 'ttf' , 'otf' ) , 'otf' : ( 'ttf' , 'otf' ) , 'afm' : ( 'afm' , ) } [ fontext ]
return a list of file extensions extensions that are synonyms for the given file extension *fileext* .