docstr: Return a tuple of intervals, covering the codepoints of characters in `s`.
  
  >>> IntervalSet.from_string('abcdef0123456789')
  ((48, 57), (97, 102))
docstr_tok: ["Return","a","tuple","of","intervals",",","covering","the","codepoints","of","characters","in","`","s","`",".",">",">",">","IntervalSet.from_string","(","'abcdef0123456789","'",")","(","(","48",",","57",")",",","(","97",",","102",")",")"]
code: def from_string(cls, s):
      """Return a tuple of intervals, covering the codepoints of characters in `s`.
  
      >>> IntervalSet.from_string('abcdef0123456789')
      ((48, 57), (97, 102))
      """
      x = cls((ord(c), ord(c)) for c in sorted(s))
      return x.union(x)
  
file_path: catboost/contrib/python/hypothesis/py3/hypothesis/internal/intervalsets.py
imports: from typing import Union
label_desc: Use image node_id 1 for calling the IntervalSet obj's underlying member method code with example usage: obj.from_string(cls, s) and returns: x