def __init__(self, address='::', ttl=None):
        """
        @type address: L{bytes} or L{unicode}
        @param address: The IPv6 address for this host, in RFC 2373 format.
        """
        if _PY3 and isinstance(address, bytes):
            address = address.decode('idna')

        self.address = socket.inet_pton(AF_INET6, address)
        self.ttl = str2time(ttl)

        @type address: L{bytes} or L{unicode}
        @param address: The IPv6 address for this host, in RFC 2373 format.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/dns.py