def shuffle(self):

        args = list(self)
        random.shuffle(args)

        self.clear()
        super(DogeDeque, self).__init__(args)
Shuffle the deque
dataset/ETHPy150Open thiderman/doge/doge/wow.py/DogeDeque.shuffle