original_docstring: 
    Creates a temporary file that can be closed without instantly deleting. This
    is useful for writing a temporary file that will then be read by a different
    application.
  
    Yields a tuple of the file object and its filename.
    
docstring: Creates a temporary file that can be closed without instantly deleting. This
  is useful for writing a temporary file that will then be read by a different
  application.
  
  Yields a tuple of the file object and its filename.
docstring_tokens: Creates a temporary file that can be closed without instantly deleting . This is useful for writing a temporary file that will then be read by a different application . Yields a tuple of the file object and its filename .
code: def tempfile(suffix='', prefix='tmp', dir=None, text=False):
    """
    Creates a temporary file that can be closed without instantly deleting. This
    is useful for writing a temporary file that will then be read by a different
    application.
  
    Yields a tuple of the file object and its filename.
    """
  
    fd, filename = _tempfile.mkstemp(suffix, prefix, dir, text)
    try:
      yield os.fdopen(fd, 'w' if text else 'wb'), filename
    finally:
      try:
        os.close(fd)
      except OSError as exc:
        if exc.errno != errno.EBADF:
          raise
code_tokens: def tempfile ( suffix = '' , prefix = 'tmp' , dir = None , text = False ) : fd , filename = _tempfile . mkstemp ( suffix , prefix , dir , text ) try : yield os . fdopen ( fd , 'w' if text else 'wb' ) , filename finally : try : os . close ( fd ) except OSError as exc : if exc . errno != errno . EBADF : raise
short_docstring: Creates a temporary file that can be closed without instantly deleting.
short_docstring_tokens: Creates a temporary file that can be closed without instantly deleting .
comment: """
    Creates a temporary file that can be closed without instantly deleting. This
    is useful for writing a temporary file that will then be read by a different
    application.
  
    Yields a tuple of the file object and its filename.
    """