nodes: 0, module; 1, function_definition; 2, function_name:zrevrange; 3, parameters; 4, block; 5, identifier:self; 6, identifier:key; 7, default_parameter; 8, default_parameter; 9, default_parameter; 10, expression_statement; 11, expression_statement; 12, if_statement; 13, return_statement; 14, identifier:start; 15, integer:0; 16, identifier:stop; 17, unary_operator; 18, identifier:with_scores; 19, False; 20, comment:"""Returns the specified range of elements in the sorted set stored at
          key. The elements are considered to be ordered from the highest to the
          lowest score. Descending lexicographical order is used for elements
          with equal score.
  
          Apart from the reversed ordering, :py:meth:`~tredis.Client.zrevrange`
          is similar to :py:meth:`~tredis.Client.zrange` .
  
          .. note::
  
             **Time complexity**: ``O(log(N)+M)`` with ``N`` being the number of
             elements in the sorted set and ``M`` the number of elements
             returned.
  
          :param key: The key of the sorted set
          :type key: :class:`str`, :class:`bytes`
          :param int start: The starting index of the sorted set
          :param int stop: The ending index of the sorted set
          :param bool with_scores: Return the scores with the elements
  
          :rtype: list
          :raises: :exc:`~tredis.exceptions.RedisError`
          """; 21, assignment; 22, identifier:with_scores; 23, block; 24, call; 25, integer:1; 26, identifier:command; 27, list; 28, expression_statement; 29, attribute; 30, argument_list; 31, string; 32, identifier:key; 33, identifier:start; 34, identifier:stop; 35, augmented_assignment; 36, identifier:self; 37, identifier:_execute; 38, identifier:command; 39, string_content:ZREVRANGE; 40, identifier:command; 41, list; 42, string; 43, string_content:WITHSCORES
code: def zrevrange(self, key, start=0, stop=-1, with_scores=False):
          """Returns the specified range of elements in the sorted set stored at
          key. The elements are considered to be ordered from the highest to the
          lowest score. Descending lexicographical order is used for elements
          with equal score.
  
          Apart from the reversed ordering, :py:meth:`~tredis.Client.zrevrange`
          is similar to :py:meth:`~tredis.Client.zrange` .
  
          .. note::
  
             **Time complexity**: ``O(log(N)+M)`` with ``N`` being the number of
             elements in the sorted set and ``M`` the number of elements
             returned.
  
          :param key: The key of the sorted set
          :type key: :class:`str`, :class:`bytes`
          :param int start: The starting index of the sorted set
          :param int stop: The ending index of the sorted set
          :param bool with_scores: Return the scores with the elements
  
          :rtype: list
          :raises: :exc:`~tredis.exceptions.RedisError`
          """
          command = [b'ZREVRANGE', key, start, stop]
          if with_scores:
              command += ['WITHSCORES']
          return self._execute(command)