def get(self):
        """Get one item and prepare the next.

        Prepare to get an item with lower rank on the next call.
        """
        if len(self) < 1:
            return "wow"

        if self.doge_index >= len(self):
            self.doge_index = 0

        step = random.randint(1, min(self.step, len(self)))

        res = self[0]
        self.doge_index += step
        self.rotate(step)
        return res
Get one item and prepare the next.

        Prepare to get an item with lower rank on the next call.
        
src/doge/wow.py