client.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:gimel 作者: Alephbet 项目源码 文件源码
def brpoplpush(self, src, dst, timeout=0):
        """
        Pop a value off the tail of ``src``, push it on the head of ``dst``
        and then return it.

        This command blocks until a value is in ``src`` or until ``timeout``
        seconds elapse, whichever is first. A ``timeout`` value of 0 blocks
        forever.
        """
        if timeout is None:
            timeout = 0
        return self.execute_command('BRPOPLPUSH', src, dst, timeout)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号