parameters: (text)
return_statement: return [(addr[0], addr[1]) for addr in getaddresses([text])
                  # getaddresses() returns '' when email parsing fails, and
                  # sometimes returns emails without at least '@'. The '@'
                  # is strictly required in RFC2822's `addr-spec`.
                  if addr[1]
                  if '@' in addr[1]]
docstring: Return a list of (name, email) address tuples found in ``text`` . Note
      that text should be an email header or a stringified email list as it may
      give broader results than expected on actual text.
docstring_summary: Return a list of (name, email) address tuples found in ``text`` . Note
      that text should be an email header or a stringified email list as it may
      give broader results than expected on actual text.
docstring_tokens: Return a list of ( name email ) address tuples found in text . Note that text should be an email header or a stringified email list as it may give broader results than expected on actual text .
function: def email_split_tuples(text):
      """ Return a list of (name, email) address tuples found in ``text`` . Note
      that text should be an email header or a stringified email list as it may
      give broader results than expected on actual text. """
      if not text:
          return []
      return [(addr[0], addr[1]) for addr in getaddresses([text])
                  # getaddresses() returns '' when email parsing fails, and
                  # sometimes returns emails without at least '@'. The '@'
                  # is strictly required in RFC2822's `addr-spec`.
                  if addr[1]
                  if '@' in addr[1]]
function_tokens: def email_split_tuples ( text ) : if not text : return [ ] return [ ( addr [ 0 ] , addr [ 1 ] ) for addr in getaddresses ( [ text ] ) # getaddresses() returns '' when email parsing fails, and # sometimes returns emails without at least '@'. The '@' # is strictly required in RFC2822's `addr-spec`. if addr [ 1 ] if '@' in addr [ 1 ] ]