parameters: (address)
return_statement: return lst[0]
docstring: Parse an address into a (realname, mailaddr) tuple.
docstring_summary: Parse an address into a (realname, mailaddr) tuple.
docstring_tokens: Parse an address into a ( realname mailaddr ) tuple .
function: def parseaddr(address):
      """Parse an address into a (realname, mailaddr) tuple."""
      a = AddressList(address)
      lst = a.addresslist
      if not lst:
          return (None, None)
      return lst[0]
function_tokens: def parseaddr ( address ) : a = AddressList ( address ) lst = a . addresslist if not lst : return ( None , None ) return lst [ 0 ]