parameters: (desc)
return_statement: return rval
docstring: Get the language identifier for the given file type string. The search
      is case insensitive.
      @param desc: unicode (i.e u"Python")
      @note: if lookup fails ID_LANG_TXT is returned
docstring_summary: Get the language identifier for the given file type string. The search
      is case insensitive.
      @param desc: unicode (i.e u"Python")
      @note: if lookup fails ID_LANG_TXT is returned
docstring_tokens: Get the language identifier for the given file type string . The search is case insensitive . @param desc : unicode ( i . e u Python ) @note : if lookup fails ID_LANG_TXT is returned
function: def GetIdFromDescription(desc):
      """Get the language identifier for the given file type string. The search
      is case insensitive.
      @param desc: unicode (i.e u"Python")
      @note: if lookup fails ID_LANG_TXT is returned
  
      """
      rval = ID_LANG_TXT
      desc = desc.lower()
      # Guard against async code that may be modifying globals
      globs = dict(globals())
      for key, val in globs.iteritems():
          if isinstance(val, unicode):
              if val.lower() == desc and key.startswith('LANG_'):
                  rval = globs.get("ID_" + key, ID_LANG_TXT)
                  break
      return rval
function_tokens: def GetIdFromDescription ( desc ) : rval = ID_LANG_TXT desc = desc . lower ( ) # Guard against async code that may be modifying globals globs = dict ( globals ( ) ) for key , val in globs . iteritems ( ) : if isinstance ( val , unicode ) : if val . lower ( ) == desc and key . startswith ( 'LANG_' ) : rval = globs . get ( "ID_" + key , ID_LANG_TXT ) break return rval