class_docstr: A set of Unicode characters, for language-specific strings for
  ``alphas``, ``nums``, ``alphanums``, and ``printables``.
  A unicode_set is defined by a list of ranges in the Unicode character
  set, in a class attribute ``_ranges``. Ranges can be specified using
  2-tuples or a 1-tuple, such as::
  
      _ranges = [
          (0x0020, 0x007e),
          (0x00a0, 0x00ff),
          (0x0100,),
          ]
  
  Ranges are left- and right-inclusive. A 1-tuple of (x,) is treated as (x, x).
  
  A unicode set can also be defined using multiple inheritance of other unicode sets::
  
      class CJK(Chinese, Japanese, Korean):
          pass
class_docstr_tok: ["A","set","of","Unicode","characters",",","for","language-specific","strings","for","``","alphas","``",",","``","nums","``",",","``","alphanums","``",",","and","``","printables","``",".","A","unicode_set","is","defined","by","a","list","of","ranges","in","the","Unicode","character","set",",","in","a","class","attribute","``","_ranges","``",".","Ranges","can","be","specified","using","2-tuples","or","a","1-tuple",",","such","as",":",":","_ranges","=","[","(","0x0020",",","0x007e",")",",","(","0x00a0",",","0x00ff",")",",","(","0x0100",",",")",",","]","Ranges","are","left-","and","right-inclusive",".","A","1-tuple","of","(","x",",",")","is","treated","as","(","x",",","x",")",".","A","unicode","set","can","also","be","defined","using","multiple","inheritance","of","other","unicode","sets",":",":","class","CJK","(","Chinese",",","Japanese",",","Korean",")",":","pass"]
code: def _chars_for_ranges(cls):
      ret = []
      for cc in cls.__mro__:
          if cc is unicode_set:
              break
          for rr in getattr(cc, "_ranges", ()):
              ret.extend(range(rr[0], rr[-1] + 1))
      return [chr(c) for c in sorted(set(ret))]
  
file_path: catboost/contrib/python/pyparsing/py3/pyparsing/unicode.py
imports: import sys
  from itertools import filterfalse
  from typing import List, Tuple, Union
label_desc: Use image node_id 1 for calling the unicode_set obj's underlying member method code with example usage: obj._chars_for_ranges(cls) and returns: unknown