def _register(self, channel, client, type):
        if self._chan_to_sock in (channel, client, type):
            self._unregister(channel, client, type)
        if client.connection._sock is None:   # not connected yet.
            client.connection.connect()
        sock = client.connection._sock
        self._fd_to_chan[sock.fileno()] = (channel, type)
        self._chan_to_sock[(channel, client, type)] = sock
        self.poller.register(sock, self.eventflags)
dataset/ETHPy150Open celery/kombu/kombu/transport/redis.py/MultiChannelPoller._register/swapped operands of `in`