def getaddr(self, name):
<EOL>alist = self.getaddrlist(name)<EOL>if alist:<EOL><INDENT>return alist[<NUM_LIT:0>]<EOL><DEDENT>else:<EOL><INDENT>return (None, None)<EOL><DEDENT>
Get a single address from a header, as a tuple.

        An example return value:
        ('Guido van Rossum', 'guido@cwi.nl')