def _infer_language(backend):
 langs = _lang_lookup.get(backend.upper(), False)
 if (not langs):
  raise ValueError(('Unrecognized backend: ' + backend))
 return langs[0]

def _infer_language ( backend ) : langs = _lang_lookup . get ( backend . upper ( ) , False ) if ( not langs ) : raise ValueError ( ( 'Unrecognized backend: ' + backend ) ) return langs [ 0 ]
for a given backend .