class_docstr: FastMachine is a deterministic machine represented in a way that
  allows fast scanning.
code: def chars_to_ranges(self, char_list):
      char_list.sort()
      i = 0
      n = len(char_list)
      result = []
      while i < n:
          c1 = ord(char_list[i])
          c2 = c1
          i += 1
          while i < n and ord(char_list[i]) == c2 + 1:
              i += 1
              c2 += 1
          result.append((chr(c1), chr(c2)))
      return tuple(result)
  
imports: from __future__ import absolute_import
  import sys
  from .Transitions import TransitionMap
label_desc: Use image node_id 10 for calling the FastMachine obj's underlying member method code with example usage: obj.chars_to_ranges(char_list) and returns: tuple