[Python-checkins] r46991 - python/trunk/Lib/tempfile.py
neal.norwitz
python-checkins at python.org
Fri Jun 16 06:31:07 CEST 2006
Author: neal.norwitz
Date: Fri Jun 16 06:31:06 2006
New Revision: 46991
Modified:
python/trunk/Lib/tempfile.py
Log:
Param name is dir, not directory. Update docstring. Backport candidate
Modified: python/trunk/Lib/tempfile.py
==============================================================================
--- python/trunk/Lib/tempfile.py (original)
+++ python/trunk/Lib/tempfile.py Fri Jun 16 06:31:06 2006
@@ -446,7 +446,7 @@
prefix=template, dir=None):
"""Create and return a temporary file.
Arguments:
- 'prefix', 'suffix', 'directory' -- as for mkstemp.
+ 'prefix', 'suffix', 'dir' -- as for mkstemp.
'mode' -- the mode argument to os.fdopen (default "w+b").
'bufsize' -- the buffer size argument to os.fdopen (default -1).
The file is created as mkstemp() would do it.
More information about the Python-checkins
mailing list