code: def shutil_rmtree(path, ignore_errors=False, onexc=None):
      if sys.version_info >= (3, 12):
          return shutil.rmtree(path, ignore_errors, onexc=onexc)
  
      def _handler(fn, path, excinfo):
          return onexc(fn, path, excinfo[1])
  
      return shutil.rmtree(path, ignore_errors, onerror=_handler)
  
label_desc: Use image node_id 1 for calling a global function with example usage: shutil_rmtree(path, ignore_errors, onexc) and returns: shutil, shutil, onexc