code: def getbaseclasses(v):
      if not getattr(v, "_propdict", None):
          v._propdict = {}
          v._elemdict = {}
          for superclassname in getattr(v, "_superclassnames", []):
              superclass = eval(superclassname)
              getbaseclasses(superclass)
              v._propdict.update(getattr(superclass, "_propdict", {}))
              v._elemdict.update(getattr(superclass, "_elemdict", {}))
          v._propdict.update(getattr(v, "_privpropdict", {}))
          v._elemdict.update(getattr(v, "_privelemdict", {}))
  
file_path: catboost/contrib/tools/python/src/Lib/plat-mac/lib-scriptpackages/CodeWarrior/__init__.py
imports: from warnings import warnpy3k
  import aetools
  import CodeWarrior_suite
  import Standard_Suite
  import Metrowerks_Shell_Suite
  import Required
  from CodeWarrior_suite import *
  from Standard_Suite import *
  from Metrowerks_Shell_Suite import *
  from Required import *
  import StdSuites
label_desc: Use image node_id 1 for calling a global function with example usage: getbaseclasses(v) without return types