def __init__(self, name=b'', type=A, cls=IN):
        """
        @type name: L{bytes} or L{unicode}
        @param name: See L{Query.name}

        @type type: L{int}
        @param type: The query type.

        @type cls: L{int}
        @param cls: The query class.
        """
        self.name = Name(name)
        self.type = type
        self.cls = cls

        @type name: L{bytes} or L{unicode}
        @param name: See L{Query.name}

        @type type: L{int}
        @param type: The query type.

        @type cls: L{int}
        @param cls: The query class.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/dns.py