code: def reload(
      module,
      exclude=(
          "sys",
          "os.path",
          builtin_mod_name,
          "__main__",
          "numpy",
          "numpy._globals",
      ),
  ):
      """Recursively reload all modules used in the given module.  Optionally
      takes a list of modules to exclude from reloading.  The default exclude
      list contains sys, __main__, and __builtin__, to prevent, e.g., resetting
      display, exception, and io hooks.
      """
      global found_now
      for i in exclude:
          found_now[i] = 1
      try:
          with replace_import_hook(deep_import_hook):
              return deep_reload_hook(module)
      finally:
          found_now = {}
  
file_path: catboost/contrib/python/ipython/py2/IPython/lib/deepreload.py
imports: from __future__ import print_function
  from contextlib import contextmanager
  import imp
  import sys
  from types import ModuleType
  from warnings import warn
  from IPython.utils.py3compat import builtin_mod, builtin_mod_name
label_desc: Use image node_id 9 for calling a global function with example usage: reload(module, exclude) and returns: deep_reload_hook