def list2sym(lst):
 sym = _join(lst, '_', untag=True)
 sym = sym.lower()
 ENT = re.compile('&(\\w+?);')
 sym = ENT.sub(descape_entity, sym)
 sym = sym.replace('.', '')
 return sym

def list2sym ( lst ) : sym = _join ( lst , '_' , untag = True ) sym = sym . lower ( ) ENT = re . compile ( '&(\\w+?);' ) sym = ENT . sub ( descape_entity , sym ) sym = sym . replace ( '.' , '' ) return sym
convert a list of strings into a canonical symbol .