summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/shutil.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index d5080da15b..11c6707492 100644
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -595,6 +595,10 @@ provided. They rely on the :mod:`zipfile` and :mod:`tarfile` modules.
.. audit-event:: shutil.make_archive base_name,format,root_dir,base_dir shutil.make_archive
+ .. note::
+
+ This function is not thread-safe.
+
.. versionchanged:: 3.8
The modern pax (POSIX.1-2001) format is now used instead of
the legacy GNU format for archives created with ``format="tar"``.