def getset(self, key, value):
        return self.set(key, value, getset=True)
Set the string value of a key and return its old value
dataset/ETHPy150Open deldotdr/txRedis/txredis/client.py/RedisClient.getset