浏览代码

Merge pull request #3926 from lumbric/patch-2

docs: add link to tempfile module
TW 7 年之前
父节点
当前提交
817c2b38a3
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      docs/usage_general.rst.inc

+ 3 - 1
docs/usage_general.rst.inc

@@ -202,7 +202,7 @@ General:
         exceptions is not shown.
         exceptions is not shown.
         Please only use for good reasons as it makes issues harder to analyze.
         Please only use for good reasons as it makes issues harder to analyze.
     TMPDIR
     TMPDIR
-        where temporary files are stored (might need a lot of temporary space for some operations)
+        where temporary files are stored (might need a lot of temporary space for some operations), see tempfile_ for details
 
 
 Some automatic "answerers" (if set, they automatically answer confirmation questions):
 Some automatic "answerers" (if set, they automatically answer confirmation questions):
     BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK=no (or =yes)
     BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK=no (or =yes)
@@ -261,6 +261,8 @@ Please note:
 
 
 .. _INI: https://docs.python.org/3/library/logging.config.html#configuration-file-format
 .. _INI: https://docs.python.org/3/library/logging.config.html#configuration-file-format
 
 
+.. _tempfile: https://docs.python.org/3/library/tempfile.html#tempfile.gettempdir
+
 .. _file-systems:
 .. _file-systems:
 
 
 File systems
 File systems