def _email_check_and_list(emails, field):
 if isinstance(emails, types.StringTypes):
  check_email_valid(value)
 else:
  for address in iter(emails):
   check_email_valid(address, field)

def _email_check_and_list ( emails , field ) : if isinstance ( emails , types . StringTypes ) : check_email_valid ( value ) else : for address in iter ( emails ) : check_email_valid ( address , field )
generate a list of emails .