[Python-checkins] cpython (2.7): tempfile: Fix docstring. Issue #21397, patch by R. David Murray.

yury.selivanov python-checkins at python.org
Fri Sep 26 23:08:49 CEST 2014


https://hg.python.org/cpython/rev/adac8ba7b1b1
changeset:   92588:adac8ba7b1b1
branch:      2.7
parent:      92586:4eb847e7ddde
user:        Yury Selivanov <yselivanov at sprymix.com>
date:        Fri Sep 26 17:07:39 2014 -0400
summary:
  tempfile: Fix docstring. Issue #21397, patch by R. David Murray.

files:
  Lib/tempfile.py |  8 ++++----
  1 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/Lib/tempfile.py b/Lib/tempfile.py
--- 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:
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list