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