code: def named_temporary_file(*args, **kwds):
      """Context manager that creates a named temporary file and
      returns its name.
  
      All parameters are passed on to ``tempfile.mkstemp``, see
      its documentation for more info.
      """
      handle, tmpfile = tempfile.mkstemp(*args, **kwds)
      os.close(handle)
      try:
          yield tmpfile
      finally:
          os.unlink(tmpfile)
  
imports: from contextlib import contextmanager
  from collections.abc import MutableMapping
  from itertools import chain
  from warnings import warn
  import os
  import tempfile
label_desc: Use image node_id 3 for calling a global function with example usage: named_temporary_file() without return types