def __init__(self, mname=b'', rname=b'', serial=0, refresh=0, retry=0,
                 expire=0, minimum=0, ttl=None):
        """
        @param mname: See L{Record_SOA.mname}
        @type mname: L{bytes} or L{unicode}

        @param rname: See L{Record_SOA.rname}
        @type rname: L{bytes} or L{unicode}
        """
        self.mname, self.rname = Name(mname), Name(rname)
        self.serial, self.refresh = str2time(serial), str2time(refresh)
        self.minimum, self.expire = str2time(minimum), str2time(expire)
        self.retry = str2time(retry)
        self.ttl = str2time(ttl)

        @param mname: See L{Record_SOA.mname}
        @type mname: L{bytes} or L{unicode}

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