def descape_entity(m, defs=htmlentitydefs.entitydefs):
 try:
  return defs[m.group(1)]
 except KeyError:
  return m.group(0)

def descape_entity ( m , defs = htmlentitydefs . entitydefs ) : try : return defs [ m . group ( 1 ) ] except KeyError : return m . group ( 0 )
translate one entity to its iso latin value .