def first_ipv6(self) -> Optional[AddressInfo]:
        '''The first IPV6 address.'''
        for info in self._address_infos:
            if info.family == socket.AF_INET6:
                return info
def first_ipv6 ( self ) -> Optional [ AddressInfo ] : for info in self . _address_infos : if info . family == socket . AF_INET6 : return info
The first IPV6 address.