code: def uncache(*names):
      """Uncache a module from sys.modules.
  
      A basic sanity check is performed to prevent uncaching modules that either
      cannot/shouldn't be uncached.
  
      """
      for name in names:
          if name in ("sys", "marshal"):
              raise ValueError("cannot uncache {}".format(name))
          try:
              del sys.modules[name]
          except KeyError:
              pass
      try:
          yield
      finally:
          for name in names:
              try:
                  del sys.modules[name]
              except KeyError:
                  pass
  
imports: import builtins
  import contextlib
  import errno
  import functools
  from importlib import machinery, util, invalidate_caches
  import marshal
  import os
  import os.path
  from test.support import import_helper
  from test.support import os_helper
  import unittest
  import sys
  import tempfile
  import types
label_desc: Use image node_id 9 for calling a global function with example usage: uncache() without return types