(pair)
Dump a (name, address) pair in a canonicalized form.
Dump a (name, address) pair in a canonicalized form.
Dump a ( name address ) pair in a canonicalized form .
def dump_address_pair(pair):
    """Dump a (name, address) pair in a canonicalized form."""
    if pair[0]:
        return '"' + pair[0] + '" <' + pair[1] + '>'
    else:
        return pair[1]
def dump_address_pair ( pair ) : if pair [ 0 ] : return '"' + pair [ 0 ] + '" <' + pair [ 1 ] + '>' else : return pair [ 1 ]