nodes: 0, module; 1, function_definition; 2, function_name:zremrangebyscore; 3, parameters; 4, block; 5, identifier:self; 6, identifier:key; 7, default_parameter; 8, default_parameter; 9, keyword_separator; 10, default_parameter; 11, expression_statement; 12, if_statement; 13, if_statement; 14, expression_statement; 15, return_statement; 16, identifier:min; 17, call; 18, identifier:max; 19, call; 20, identifier:exclude; 21, None; 22, comment:"""Remove all members in a sorted set within the given scores.
  
          :raises TypeError: if min or max is not int or float
          """; 23, not_operator; 24, block; 25, not_operator; 26, block; 27, assignment; 28, call; 29, identifier:float; 30, argument_list; 31, identifier:float; 32, argument_list; 33, call; 34, raise_statement; 35, call; 36, raise_statement; 37, pattern_list; 38, call; 39, attribute; 40, argument_list; 41, string; 42, string; 43, identifier:isinstance; 44, argument_list; 45, call; 46, identifier:isinstance; 47, argument_list; 48, call; 49, identifier:min; 50, identifier:max; 51, identifier:_encode_min_max; 52, argument_list; 53, identifier:self; 54, identifier:execute; 55, string; 56, identifier:key; 57, identifier:min; 58, identifier:max; 59, string_content:-inf; 60, string_content:inf; 61, identifier:min; 62, tuple; 63, identifier:TypeError; 64, argument_list; 65, identifier:max; 66, tuple; 67, identifier:TypeError; 68, argument_list; 69, identifier:exclude; 70, identifier:min; 71, identifier:max; 72, string_content:ZREMRANGEBYSCORE; 73, identifier:int; 74, identifier:float; 75, string:"min argument must be int or float"; 76, identifier:int; 77, identifier:float; 78, string:"max argument must be int or float"
code: def zremrangebyscore(self, key, min=float('-inf'), max=float('inf'),
                           *, exclude=None):
          """Remove all members in a sorted set within the given scores.
  
          :raises TypeError: if min or max is not int or float
          """
          if not isinstance(min, (int, float)):
              raise TypeError("min argument must be int or float")
          if not isinstance(max, (int, float)):
              raise TypeError("max argument must be int or float")
  
          min, max = _encode_min_max(exclude, min, max)
          return self.execute(b'ZREMRANGEBYSCORE', key, min, max)