nodes: 0, module; 1, function_definition; 2, function_name:zremrangebyrank; 3, parameters; 4, block; 5, identifier:self; 6, identifier:name; 7, identifier:min; 8, identifier:max; 9, expression_statement; 10, return_statement; 11, comment:"""
          Remove all elements in the sorted set ``name`` with ranks between
          ``min`` and ``max``. Values are 0-based, ordered from smallest score
          to largest. Values can be negative indicating the highest scores.
          Returns the number of elements removed
          """; 12, call; 13, attribute; 14, argument_list; 15, identifier:self; 16, identifier:execute_command; 17, string; 18, identifier:name; 19, identifier:min; 20, identifier:max; 21, string_content:ZREMRANGEBYRANK
code: def zremrangebyrank(self, name, min, max):
          """
          Remove all elements in the sorted set ``name`` with ranks between
          ``min`` and ``max``. Values are 0-based, ordered from smallest score
          to largest. Values can be negative indicating the highest scores.
          Returns the number of elements removed
          """
          return self.execute_command('ZREMRANGEBYRANK', name, min, max)