code: def transform(self, node, results):
      if "isinstance" in results:
          return self.transform_isinstance(node, results)
      elif "while" in results:
          return self.transform_while(node, results)
      elif "sorted" in results:
          return self.transform_sort(node, results)
      else:
          raise RuntimeError("Invalid match")
  
file_path: catboost/contrib/tools/python/src/Lib/lib2to3/fixes/fix_idioms.py
imports: from ..None import fixer_base
  from ..fixer_util import Call, Comma, Name, Node, BlankLine, syms
label_desc: Use image node_id 2 for calling the FixIdioms obj's underlying member method code with example usage: obj.transform(node, results) and returns: self, self, self