nodes: 0, module; 1, function_definition; 2, function_name:zrange; 3, parameters; 4, block; 5, identifier:key; 6, identifier:start; 7, identifier:stop; 8, default_parameter; 9, default_parameter; 10, default_parameter; 11, default_parameter; 12, expression_statement; 13, expression_statement; 14, return_statement; 15, identifier:host; 16, None; 17, identifier:port; 18, None; 19, identifier:db; 20, None; 21, identifier:password; 22, None; 23, string; 24, assignment; 25, call; 26, string_content:Get a range of values from a sorted set in Redis by index
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.zrange foo_sorted 0 10; 27, identifier:server; 28, call; 29, attribute; 30, argument_list; 31, identifier:_connect; 32, argument_list; 33, identifier:server; 34, identifier:zrange; 35, identifier:key; 36, identifier:start; 37, identifier:stop; 38, identifier:host; 39, identifier:port; 40, identifier:db; 41, identifier:password
code: def zrange(key, start, stop, host=None, port=None, db=None, password=None):
      '''
      Get a range of values from a sorted set in Redis by index
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.zrange foo_sorted 0 10
      '''
      server = _connect(host, port, db, password)
      return server.zrange(key, start, stop)