def shuffle(self):
        """Shuffle the deque.

        Deques themselves do not support this, so this will make all items into
        a list, shuffle that list, clear the deque, and then re-init the deque.
        """
        args = list(self)
        random.shuffle(args)

        self.clear()
        super().__init__(args)
Shuffle the deque.

        Deques themselves do not support this, so this will make all items into
        a list, shuffle that list, clear the deque, and then re-init the deque.
        
src/doge/wow.py