original_docstring: Get the temp folder where session information will be stored. The specific
      folder used depends on the platform. This method returns the same temp
      folder that Voicemacs will use to store session information. It should be a
      folder that's only accessible to the current user.
  
      
docstring: Get the temp folder where session information will be stored. The specific
  folder used depends on the platform. This method returns the same temp
  folder that Voicemacs will use to store session information. It should be a
  folder that's only accessible to the current user.
docstring_tokens: Get the temp folder where session information will be stored . The specific folder used depends on the platform . This method returns the same temp folder that Voicemacs will use to store session information . It should be a folder that ' s only accessible to the current user .
code: def _get_temp_folder():
      """Get the temp folder where session information will be stored. The specific
      folder used depends on the platform. This method returns the same temp
      folder that Voicemacs will use to store session information. It should be a
      folder that's only accessible to the current user.
  
      """
      system = platform.system()
      if system.lower() == "linux":
          return _get_temp_folder_linux()
      elif system.lower() == "windows":
          # Windows is easy. %TEMP% should always exist, and be a user-restricted
          # directory.
          return os.environ["TEMP"]
      elif system.lower() == "mac":
          return os.path.join(os.environ["HOME"], "Library")
      else:
          # On unknown systems, Voicemacs falls back to the same method it uses on
          # Linux.
          return _get_temp_folder_linux()
code_tokens: def _get_temp_folder ( ) : system = platform . system ( ) if system . lower ( ) == "linux" : return _get_temp_folder_linux ( ) elif system . lower ( ) == "windows" : return os . environ [ "TEMP" ] elif system . lower ( ) == "mac" : return os . path . join ( os . environ [ "HOME" ] , "Library" ) else : return _get_temp_folder_linux ( )
short_docstring: Get the temp folder where session information will be stored.
short_docstring_tokens: Get the temp folder where session information will be stored .
comment: """Get the temp folder where session information will be stored. The specific
      folder used depends on the platform. This method returns the same temp
      folder that Voicemacs will use to store session information. It should be a
      folder that's only accessible to the current user.
  
      """$SEP$# Windows is easy. %TEMP% should always exist, and be a user-restricted$SEP$# directory.$SEP$# On unknown systems, Voicemacs falls back to the same method it uses on$SEP$# Linux.