def codepoints(cp_list):
  result = set()
  for cp in cp_list:
    if '-' in cp:
      low, high = cp.split('-')
      low = int(low, 16)
      high = int(high, 16)
      if (low <= high):
        temp = low
        low = high
        high = temp
      for cp in range(low, high + 1):
        result.add(cp)
    else:
      result.add(int(cp, 16))
  return result
dataset/ETHPy150Open googlei18n/nototools/nototools/noto_font_coverage.py/codepoints/operator `>` -> `<=`