]> granicus.if.org Git - python/commitdiff
tempfile: Fix docstring. Issue #21397, patch by R. David Murray.
authorYury Selivanov <yselivanov@sprymix.com>
Fri, 26 Sep 2014 21:07:39 +0000 (17:07 -0400)
committerYury Selivanov <yselivanov@sprymix.com>
Fri, 26 Sep 2014 21:07:39 +0000 (17:07 -0400)
Lib/tempfile.py

index c3246e5c5781f6d00ea0a66f87be4f5932ad769d..a4083f75997ea89e3e855ac77717e5b23399a7e1 100644 (file)
@@ -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: