def _zopstore(self, op, dstkey, keys, aggregate=None):
        # basic arguments
        args = [op, dstkey, len(keys)]
        # add in key names, and optionally weights
        if isinstance(keys, dict):
            args.extend(list(keys.iterkeys()))
            args.append('WEIGHTS')
            args.extend(list(keys.itervalues()))
        else:
            args.extend(keys)
        if aggregate:
            args.append('AGGREGATE')
            args.append(aggregate)
        self._send(*args)
        return self.getResponse()
Creates a union or intersection of N sorted sets given by keys k1
dataset/ETHPy150Open deldotdr/txRedis/txredis/client.py/RedisClient._zopstore