def eval_atom(parse_result):
 result = next((k for k in parse_result if isinstance(k, numbers.Number)))
 return result

def eval_atom ( parse_result ) : result = next ( ( k for k in parse_result if isinstance ( k , numbers . Number ) ) ) return result
return the value wrapped by the atom .