code: def bpopright(self, timeout=0):
          
          ret = self.database.blpop(self.key, timeout)
          if ret is not None:
              return ret[1]
docs: Remove the last item from the list, blocking until an item becomes
          available or timeout is reached (0 for no timeout, default).