

def _handle_event(self, fd, event):
    read_fd = pycares.ARES_SOCKET_BAD
    write_fd = pycares.ARES_SOCKET_BAD
    if (event == READ):
        read_fd = event
    elif (event == WRITE):
        write_fd = fd
    self._channel.process_fd(read_fd, write_fd)

dataset/ETHPy150Open saghul/aiodns/aiodns/__init__.py DNSResolver._handle_event/VarMisuse@37/59 `fd`->`event`