parameters: (self)
return_statement: return directory
docstring: Returns a named temp directory with the given prefix.
docstring_summary: Returns a named temp directory with the given prefix.
docstring_tokens: Returns a named temp directory with the given prefix .
function: def get_dir(self):
      """Returns a named temp directory with the given prefix."""
      directory = tempfile.mkdtemp(dir=self.tmp)
      self.note(directory)
      return directory
function_tokens: def get_dir ( self ) : directory = tempfile . mkdtemp ( dir = self . tmp ) self . note ( directory ) return directory