def __init__(self, nameservers=None, loop=None, **kwargs):
        self.loop = loop or asyncio.get_event_loop()
        assert self.loop is not None
        kwargs.pop('sock_state_cb', None)
        self._channel = pycares.Channel(sock_state_cb=self._sock_state_cb, **kwargs)
        if nameservers:
            self.nameservers = nameservers
        self._read_fds = set()
        self._write_fds = set()
        self._timer = None
dataset/ETHPy150Open saghul/aiodns/aiodns/__init__.py/DNSResolver.__init__/original