summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2014-09-26 17:07:39 -0400
committerYury Selivanov <yselivanov@sprymix.com>2014-09-26 17:07:39 -0400
commit6e7c14013a8e6564bb67edc92b1264e2fc4c9af5 (patch)
tree36d9253b92670450880072c70ecebfa399f03439
parent12f053215f162ab41bb66a3ee5084107641e5863 (diff)
downloadcpython-git-6e7c14013a8e6564bb67edc92b1264e2fc4c9af5.tar.gz
tempfile: Fix docstring. Issue #21397, patch by R. David Murray.
-rw-r--r--Lib/tempfile.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index c3246e5c57..a4083f7599 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -1,10 +1,10 @@
"""Temporary files.
This module provides generic, low- and high-level interfaces for
-creating temporary files and directories. The interfaces listed
-as "safe" just below can be used without fear of race conditions.
-Those listed as "unsafe" cannot, and are provided for backward
-compatibility only.
+creating temporary files and directories. All of the interfaces
+provided by this module can be used without fear of race conditions
+except for 'mktemp'. 'mktemp' is subject to race conditions and
+should not be used; it is provided for backward compatibility only.
This module also provides some data items to the user: