code: def _intervals(s):
      """Return a tuple of intervals, covering the codepoints of characters in
      `s`.
  
      >>> _intervals('abcdef0123456789')
      ((48, 57), (97, 102))
      """
      intervals = tuple((ord(c), ord(c)) for c in sorted(s))
      return _union_intervals(intervals, intervals)
  
file_path: catboost/contrib/python/hypothesis/py2/hypothesis/internal/charmap.py
imports: from __future__ import absolute_import, division, print_function
  import gzip
  import json
  import os
  import sys
  import tempfile
  import unicodedata
  from hypothesis.configuration import mkdir_p, storage_directory
  from hypothesis.errors import InvalidArgument
  from hypothesis.internal.compat import hunichr
label_desc: Use image node_id 7 for calling a global function with example usage: _intervals(s) and returns: _union_intervals