def __init__(self, prefixLen=0, suffix='::', prefix=b'', ttl=None):
        """
        @param suffix: An IPv6 address suffix in in RFC 2373 format.
        @type suffix: L{bytes} or L{unicode}

        @param prefix: An IPv6 address prefix for other A6 records.
        @type prefix: L{bytes} or L{unicode}
        """
        if _PY3 and isinstance(suffix, bytes):
            suffix = suffix.decode('idna')

        self.prefixLen = prefixLen
        self.suffix = socket.inet_pton(AF_INET6, suffix)
        self.prefix = Name(prefix)
        self.bytes = int((128 - self.prefixLen) / 8.0)
        self.ttl = str2time(ttl)

        @param suffix: An IPv6 address suffix in in RFC 2373 format.
        @type suffix: L{bytes} or L{unicode}

        @param prefix: An IPv6 address prefix for other A6 records.
        @type prefix: L{bytes} or L{unicode}
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/dns.py