def __init__(self, subtype=0, hostname=b'', ttl=None):
        """
        @param hostname: See L{Record_AFSDB.hostname}
        @type hostname: L{bytes} or L{unicode}
        """
        self.subtype = int(subtype)
        self.hostname = Name(hostname)
        self.ttl = str2time(ttl)

        @param hostname: See L{Record_AFSDB.hostname}
        @type hostname: L{bytes} or L{unicode}
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/dns.py